-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bond-refactoring: resolve merge conflict with python branch
- Loading branch information
Showing
221 changed files
with
5,804 additions
and
5,403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: 'Build and check' | ||
description: 'Build espresso and run checks' | ||
inputs: | ||
asan: # id of input | ||
description: 'Whether to build with address sanitizer' | ||
required: true | ||
default: 'false' | ||
ubsan: | ||
description: 'Whether to build with undefined behavior sanitizer' | ||
required: true | ||
default: 'false' | ||
check_skip_long: # id of input | ||
description: 'Whether to skip long python tests' | ||
required: true | ||
default: 'false' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- run: | | ||
brew install boost boost-mpi fftw | ||
brew install hdf5-mpi | ||
pip3 install numpy cython h5py scipy | ||
shell: bash | ||
- run: | | ||
export myconfig=maxset with_cuda=false test_timeout=600 with_asan=${{ inputs.asan }} with_ubsan=${{ inputs.ubsan }} check_skip_long=${{ inputs.check_skip_long }} | ||
bash maintainer/CI/build_cmake.sh | ||
shell: bash | ||
# This is a workaround for the unfortunate interaction of MacOS and OpenMPI 4 | ||
# See https://github.com/open-mpi/ompi/issues/6518 | ||
env: | ||
OMPI_MCA_btl: "self,tcp" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: run tests on mac | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '0 3 * * *' | ||
|
||
jobs: | ||
regular_check: | ||
runs-on: macos-latest | ||
if: github.event_name != 'schedule' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@main | ||
- name: Setup Python environment | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.7' | ||
- name: Check without sanitizer | ||
uses: ./.github/actions/build_and_check | ||
with: | ||
asan: false | ||
ubsan: false | ||
check_skip_long: false | ||
|
||
sanitizer_check: | ||
runs-on: macos-latest | ||
if: github.event_name == 'schedule' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@main | ||
- name: Setup Python environment | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.7' | ||
- name: Check with sanitizer | ||
uses: ./.github/actions/build_and_check | ||
with: | ||
asan: true | ||
ubsan: true | ||
check_skip_long: true | ||
- name: Setting job link variable | ||
if: ${{ failure() }} | ||
run: | | ||
echo "job_link=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" >> $GITHUB_ENV | ||
- uses: alialaa/issue-action@v1 | ||
if: ${{ failure() }} | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
title: Scheduled CI job has failed | ||
body: ${{ env.job_link }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.