diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ff077c..825d6b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,17 +1,12 @@ name: ci on: - # Trigger the workflow on push or pull request, - # but only for the main branch push: branches: - main pull_request: branches: - main - # Also trigger on page_build, as well as release created events - page_build: - release: env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) @@ -28,9 +23,15 @@ jobs: - uses: actions/checkout@master with: repository: gismo/gismo + ref: stable path: ./gismo + - uses: actions/checkout@master + with: + path: ./gismo/optional + #token: ${{ secrets.GH_PAT }} + - name: "Run for ${{ matrix.os }}" shell: bash working-directory: ${{runner.workspace}} - run: ctest -S ${{ github.event.repository.name }}/gismo/cmake/ctest_script.cmake -D CTEST_BUILD_NAME="actions_$GITHUB_RUN_NUMBER" -D CTEST_SITE="${{ matrix.os }}_[actions]" -D CMAKE_ARGS="-DCMAKE_BUILD_TYPE=$BUILD_TYPE;-DCMAKE_CXX_STANDARD=11;-DGISMO_WITH_XDEBUG=ON;-DGISMO_BUILD_UNITTESTS=ON" -D GISMO_OPTIONAL="${{ github.event.repository.name }}" -Q + run: ctest -S ${{ github.event.repository.name }}/gismo/cmake/ctest_script.cmake -D CTEST_BUILD_NAME="${{ github.event.repository.name }}_actions_$GITHUB_RUN_NUMBER" -D CTEST_SITE="${{ matrix.os }}_[actions]" -D CMAKE_ARGS="-DCMAKE_BUILD_TYPE=$BUILD_TYPE;-DCMAKE_CXX_STANDARD=11;-DGISMO_WITH_XDEBUG=ON;-DGISMO_BUILD_UNITTESTS=ON" -D GISMO_OPTIONAL="${{ github.event.repository.name }}" -Q