Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
filiatra committed Mar 22, 2024
1 parent da00bf1 commit f396c9c
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: ci
on:
# Trigger the workflow on push or pull request,
# but only for the main branch

push:
branches:
- main
Expand All @@ -20,23 +19,19 @@ env:

jobs:
build:
uses:
gismo/gismo/.github/workflows/gismo.yml@stable
name: "Run for ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
uses: actions/checkout@master
with:
repository: gismo/gismo
path: ./gismo

- name: Running ctest
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
name: Running ctest
shell: bash
working-directory: ${{runner.workspace}}
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: ctest -S 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="gsOpennurbs" -Q
run: ctest -S 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

0 comments on commit f396c9c

Please sign in to comment.