Test for compacting all res 1 cells #1459
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: test-macos | |
on: | |
push: | |
branches: [master, stable-*] | |
pull_request: | |
branches: [master, stable-*] | |
jobs: | |
tests: | |
name: Test Compile ${{ matrix.build_type }} | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
build_type: ["Debug", "Release"] | |
steps: | |
- uses: actions/[email protected] | |
- name: Configure build | |
run: cmake -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.build_type}} -DWARNINGS_AS_ERRORS=ON . | |
- name: Build | |
working-directory: build | |
run: make | |
- name: binding-functions | |
working-directory: build | |
run: | | |
make binding-functions | |
test -s binding-functions | |
- name: Tests | |
working-directory: build | |
run: | | |
make test | |
sudo make install | |
- name: Examples | |
run: | | |
mkdir build/examples | |
cd build/examples | |
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type}} ../../examples | |
make | |
make test |