tidy stuff up #70
This file contains hidden or 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: CI | |
| on: [push] | |
| jobs: | |
| build: | |
| name: ${{ matrix.platform.name }} ${{ matrix.config.name }} | |
| runs-on: ${{ matrix.platform.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: | |
| - { name: Windows, os: windows-latest } | |
| - { name: Linux GCC, os: ubuntu-latest } | |
| - { name: Linux Clang, os: ubuntu-latest, flags: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ } | |
| - { name: macOS, os: macos-latest } | |
| steps: | |
| - name: Install Linux Dependencies | |
| if: runner.os == 'Linux' | |
| run: sudo apt-get update && sudo apt-get install libxrandr-dev libxcursor-dev libudev-dev libflac-dev libvorbis-dev libgl1-mesa-dev libegl1-mesa-dev libxi-dev libfreetype-dev | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Configure | |
| run: cmake -S . -B build ${{matrix.platform.flags}} | |
| - name: Build | |
| run: cmake --build build --config Release |