-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #431 from pdziekan/github-actions
GA: libmpdata++ install from marketplace
- Loading branch information
Showing
1 changed file
with
13 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,10 +53,6 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# Debugging with a ssh session | ||
# - name: Setup tmate session | ||
# uses: mxschmitt/action-tmate@v3 | ||
|
||
- name: build libcloudph++ | ||
uses: igfuw/[email protected] | ||
with: | ||
|
@@ -136,31 +132,26 @@ jobs: | |
- name: Decompress libcloudph++ build | ||
run: tar -xvf build.tar | ||
|
||
# Debugging with a ssh session | ||
# - name: Setup tmate session | ||
# uses: mxschmitt/action-tmate@v3 | ||
|
||
- name: Install libcloudph++ | ||
run: sudo cmake --install build | ||
|
||
- name: load UWLCM Singularity image | ||
uses: igfuw/[email protected] | ||
with: | ||
path: ${{ github.workspace }}/singularity_images | ||
|
||
- name: checkout libmpdata++ repo | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: igfuw/libmpdataxx | ||
path: libmpdataxx | ||
|
||
- name: Configure libmpdata++ CMake | ||
working-directory: ${{github.workspace}}/libmpdataxx/libmpdata++ | ||
run: singularity exec $SI cmake -B build -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/installed | ||
|
||
- name: Build libmpdata++ | ||
working-directory: ${{github.workspace}}/libmpdataxx/libmpdata++ | ||
run: VERBOSE=1 singularity exec $SI cmake --build build | ||
|
||
- name: Install libmpdata++ | ||
working-directory: ${{github.workspace}}/libmpdataxx/libmpdata++ | ||
run: sudo cmake --install build | ||
uses: igfuw/[email protected] | ||
with: | ||
build_type: ${{matrix.build_type}} | ||
threads: 4 | ||
path: ${{ github.workspace }}/libmpdataxx/libmpdata++ | ||
install_prefix: ${{ github.workspace }}/installed | ||
|
||
- name: Configure kinematic_2D CMake | ||
working-directory: ${{github.workspace}}/models/kinematic_2D | ||
|
@@ -178,9 +169,9 @@ jobs: | |
cat Testing/Temporary/LastTest.log | ||
# Debugging with a ssh session on failure | ||
- name: Setup tmate session | ||
if: ${{ failure() }} | ||
uses: mxschmitt/action-tmate@v3 | ||
# - name: Setup tmate session | ||
# if: ${{ failure() }} | ||
# uses: mxschmitt/action-tmate@v3 | ||
|
||
|
||
parcel_test: | ||
|
@@ -246,11 +237,6 @@ jobs: | |
if: ${{matrix.debug_tests}} | ||
run: PYTHONPATH=${{ github.workspace }}/installed/usr/lib/python3/dist-packages singularity exec -B${{ github.workspace }}/installed $SI python3 -m pytest -s -v unit_test_debug | ||
|
||
# Debugging with a ssh session on failure | ||
- name: Setup tmate session | ||
if: ${{ failure() }} | ||
uses: mxschmitt/action-tmate@v3 | ||
|
||
build_and_test_KiD-A: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
|