-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable cache/no-cache PDC CI tests (#171)
CI with cache and no-cache versions of PDC
- Loading branch information
Showing
4 changed files
with
275 additions
and
62 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,28 @@ | ||
name: Ubuntu (cache) | ||
|
||
on: | ||
pull_request: | ||
branches: [ stable, develop ] | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
PDC: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Dependencies | ||
run: .github/workflows/dependencies-linux.sh | ||
|
||
- name: Build PDC | ||
run: | | ||
mkdir build && cd build | ||
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=ON -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc | ||
make -j2 | ||
- name: Test PDC | ||
working-directory: build | ||
run: ctest -L serial |
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,28 @@ | ||
name: Ubuntu (no-cache) | ||
|
||
on: | ||
pull_request: | ||
branches: [ stable, develop ] | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
PDC: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Dependencies | ||
run: .github/workflows/dependencies-linux.sh | ||
|
||
- name: Build PDC | ||
run: | | ||
mkdir build && cd build | ||
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc | ||
make -j2 | ||
- name: Test PDC | ||
working-directory: build | ||
run: ctest -L serial |
Oops, something went wrong.