Merge pull request #261 from jcortial-safran/cmake-find-dependency #499
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fast check without dependencies | |
on: | |
push: | |
# run tests on PR events | |
pull_request: | |
types: [synchronize] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: configure | |
run: mkdir build && cd build && cmake -DONLY_VERY_SHORT_TESTS=ON -DBUILD_TESTING=ON .. | |
- name: make | |
run: cd build && make | |
- name: test | |
run: cd build && ctest |