name: Smoke tests on: push: branches-ignore: - 'test-*' jobs: build: name: Build runs-on: ${{matrix.os}} strategy: matrix: os: [macos-latest, ubuntu-latest, windows-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