Added CI workflow for macOS. #30
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: Build on Windows (MSYS2) | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.runs-on }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - { icon: '🟦', sys: mingw64, runs-on: 'windows-latest' } | |
| - { icon: '🟨', sys: ucrt64, runs-on: 'windows-latest' } | |
| - { icon: '🟧', sys: clang64, runs-on: 'windows-latest' } | |
| name: 🚧${{ matrix.icon }} ${{ matrix.sys }} | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - name: '🧰 Checkout' | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: '${{ matrix.icon }} Setup MSYS2' | |
| uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: ${{matrix.sys}} | |
| update: true | |
| install: >- | |
| git | |
| make | |
| pacboy: >- | |
| toolchain:p | |
| cmake:p | |
| make:p | |
| tools-git:p | |
| vulkan:p | |
| qt6:p | |
| protobuf:p | |
| zlib:p | |
| libpng:p | |
| glslang:p | |
| portaudio:p | |
| libogg:p | |
| libvorbis:p | |
| cairo:p | |
| gtest:p | |
| - name: '🚧 Build' | |
| run: | | |
| cmake -G "MSYS Makefiles" -B build -DCMAKE_BUILD_TYPE=Release | |
| cmake --build build | |
| - name: '🧪 Run TESTS' | |
| run: | | |
| cd build | |
| ctest --output-on-failure |