From ecb90a4f3dadacd4883ee7b1109a15d91a9c86dd Mon Sep 17 00:00:00 2001 From: Wim Haeck Date: Mon, 11 Mar 2024 11:54:43 -0600 Subject: [PATCH] updating CI --- .github/workflows/ContinuousIntegration.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ContinuousIntegration.yml b/.github/workflows/ContinuousIntegration.yml index b11bd77..ba35ff3 100644 --- a/.github/workflows/ContinuousIntegration.yml +++ b/.github/workflows/ContinuousIntegration.yml @@ -16,8 +16,8 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - os: [ ubuntu-18.04, macos-10.15 ] - cxx: [ clang++, g++-9 ] + os: [ ubuntu-20.04, macos-11 ] + cxx: [ clang++, g++-10 ] build_type: [ Debug, Release ] steps: @@ -25,17 +25,15 @@ jobs: run: | which ${{matrix.cxx}} ${{matrix.cxx}} --version - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: mkdir bin run: mkdir bin - name: cmake - run: cmake -DPYTHON_EXECUTABLE=$(which python3) -D CMAKE_CXX_COMPILER=`which ${{matrix.cxx}}` -D CMAKE_BUILD_TYPE=${{matrix.build_type}} -D codex.tests=ON .. + run: cmake -DPYTHON_EXECUTABLE=$(which python3) -D CMAKE_CXX_COMPILER=`which ${{matrix.cxx}}` -D CMAKE_BUILD_TYPE=${{matrix.build_type}} -D scion.tests=ON -D scion.python=ON .. working-directory: ./bin - name: make run: make -j2 working-directory: ./bin - name: ctest - run: | - cp *.so ../python - ctest --rerun-failed --output-on-failure -j2 + run: ctest -j2 working-directory: ./bin