Skip to content

Commit

Permalink
actions: add build static test
Browse files Browse the repository at this point in the history
  • Loading branch information
gonsie committed Feb 14, 2022
1 parent 91f55f2 commit 84a7400
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,16 @@ jobs:
os: ${{ matrix.os }}
mpi: ${{ matrix.mpi }}

- name: build static
uses: ecp-veloc/github-actions/cmake-build-static@main
with:
component: spath
target: ${{ matrix.target }}
cmake_line: "-DMPI=${{ matrix.mpi == 'par' }}"

- name: build and test
uses: ecp-veloc/github-actions/cmake-build-test@main
with:
component: spath
target: ${{ matrix.target }}
cmake_line: "-DMPI=${{ matrix.mpi == 'par' }} -DBUILD_SHARED_LIBS=ON -DSPATH_LINK_STATIC=ON"
cmake_line: "-DMPI=${{ matrix.mpi == 'par' }}"

0 comments on commit 84a7400

Please sign in to comment.