Skip to content

Commit

Permalink
update MacOS.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed May 22, 2024
1 parent 928b005 commit 4822185
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/MacOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,17 @@ jobs:
steps:

- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: ip

- name: build
run: |
cd ip
mkdir build
cd build
cmake -DOPENMP=${{ matrix.openmp }} -DBUILD_SHARED_LIBS=${{ matrix.sharedlibs }} -DCMAKE_INSTALL_PREFIX=~/install -DBUILD_8=ON ..
make -j2 VERBOSE=2
make install
cmake -S ip -B ip/build -DOPENMP=${{ matrix.openmp }} -DBUILD_SHARED_LIBS=${{ matrix.sharedlibs }} -DCMAKE_INSTALL_PREFIX=~/install -DBUILD_8=ON
cmake --build ip/build --parallel 2 --verbose
cmake --install ip/build
ls -l ~/install
ls -l ~/install/lib
- name: test
run: |
cd $GITHUB_WORKSPACE/ip/build
ctest --verbose --output-on-failure --rerun-failed
run: ctest --test-dir ip/build --verbose --output-on-failure --rerun-failed

0 comments on commit 4822185

Please sign in to comment.