Fix warnings #56
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: Smoke tests | |
on: | |
push: | |
branches-ignore: | |
- 'test-*' | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
os: [macos-11, ubuntu-latest, windows-latest] | |
#os: [ubuntu-latest] | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v1 | |
- name: Install Linux dependencies | |
if: startsWith(matrix.os, 'ubuntu') | |
run: sudo apt install libgl-dev libglu1-mesa-dev xvfb | |
- name: Compile | |
shell: bash | |
working-directory: ./ci | |
run: make | |
- name: Run tests (Linux) | |
if: startsWith(matrix.os, 'ubuntu') | |
shell: bash | |
working-directory: ./ci | |
run: xvfb-run ./ci | |
- name: Run tests (macOS) | |
if: startsWith(matrix.os, 'macos') | |
shell: bash | |
working-directory: ./ci | |
run: ./ci 1 | |
- name: Run tests (Windows) | |
if: startsWith(matrix.os, 'windows') | |
shell: bash | |
working-directory: ./ci | |
run: ./ci.exe 0 |