Remove windows-msys2 ci build #13
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: | |
| paths-ignore: | |
| - '.gitignore' | |
| - 'img/**' | |
| - 'README.md' | |
| pull_request: | |
| paths-ignore: | |
| - '.gitignore' | |
| - 'img/**' | |
| - 'README.md' | |
| workflow_dispatch: | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-${{ matrix.runs-on }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| runs-on: [20.04, 22.04] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get -y update | |
| sudo apt-get -y install libsdl2-dev | |
| - name: Build | |
| run: make -j$(nproc) | |
| build-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| env: | |
| HOMEBREW_NO_ANALYTICS: 1 | |
| run: brew install sdl2 | |
| - name: Build | |
| run: make -j$(getconf NPROCESSORS_ONLN 2>/dev/null || getconf _NPROCESSORS_ONLN) | |
| build-windows-msvc: | |
| runs-on: windows-latest | |
| env: | |
| POWERSHELL_TELEMETRY_OPTOUT: 1 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - uses: ilammy/msvc-dev-cmd@v1 | |
| - name: Initialize and update submodules | |
| run: | | |
| git submodule init | |
| git submodule update --recursive | |
| - name: Generate project | |
| run: cmake -B build | |
| - name: Build | |
| run: cmake --build build -j (Get-WmiObject Win32_Processor).NumberOfLogicalProcessors |