From 4822185aac4cff2e3961ef63bc50fa98ecd3cfc8 Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Wed, 22 May 2024 14:01:47 -0700 Subject: [PATCH] update MacOS.yml --- .github/workflows/MacOS.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/MacOS.yml b/.github/workflows/MacOS.yml index 9a6efc9c..ab042304 100644 --- a/.github/workflows/MacOS.yml +++ b/.github/workflows/MacOS.yml @@ -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