diff --git a/.github/workflows/ContinuousIntegration.yml b/.github/workflows/ContinuousIntegration.yml index c92dc55..d462c81 100644 --- a/.github/workflows/ContinuousIntegration.yml +++ b/.github/workflows/ContinuousIntegration.yml @@ -1,4 +1,4 @@ -# GitHub workflow to enable continuous integratoin +# GitHub workflow to enable continuous integration name: Continuous Integration # This workflow is triggered on pushes and pull requests to the repository. @@ -17,7 +17,7 @@ jobs: strategy: matrix: os: [ ubuntu-20.04, macos-11 ] - cxx: [ clang++, g++-9 ] + cxx: [ clang++, g++-10 ] build_type: [ Debug, Release ] steps: @@ -25,15 +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 -D CMAKE_CXX_COMPILER=`which ${{matrix.cxx}}` -D CMAKE_BUILD_TYPE=${{matrix.build_type}} -D interpolation.tests=ON .. + run: cmake -DPYTHON_EXECUTABLE=$(which python3) -D CMAKE_CXX_COMPILER=`which ${{matrix.cxx}}` -D CMAKE_BUILD_TYPE=${{matrix.build_type}} -D interpolation.tests=ON .. working-directory: ./bin - name: make run: make -j2 working-directory: ./bin - name: ctest - run: ctest --rerun-failed --output-on-failure -j2 + run: ctest -j2 working-directory: ./bin