Skip to content

Commit

Permalink
CI: Support Shared AMReX Lib
Browse files Browse the repository at this point in the history
Add a Linux and Windows build that each build a shared
AMReX library.
  • Loading branch information
ax3l committed Nov 4, 2022
1 parent eb888ed commit 21f0158
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DBUILD_SHARED_LIBS=ON \
-DAMReX_MPI=ON
cmake --build build --target pip_install -j 2
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@ jobs:
cmake -S . -B build `
-T "ClangCl" `
-DCMAKE_VERBOSE_MAKEFILE=ON `
-DBUILD_SHARED_LIBS=ON `
-DAMReX_MPI=OFF
if(!$?) { Exit $LASTEXITCODE }
cmake --build build --config Debug -j 2
if(!$?) { Exit $LASTEXITCODE }
cmake --build build --config Debug --target pip_install -j 2
cmake --build build --config Debug --target install
if(!$?) { Exit $LASTEXITCODE }
cmake --build build --config Debug --target pip_install
if(!$?) { Exit $LASTEXITCODE }
- name: Unit tests
run: |
Expand Down

0 comments on commit 21f0158

Please sign in to comment.