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 Linux | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update && sudo apt-get install -y \ | |
| cmake ninja-build \ | |
| libx11-dev libxrandr-dev libxinerama-dev \ | |
| libxcursor-dev libxi-dev libgl1-mesa-dev | |
| - name: Configure | |
| run: cmake -B build -S . -G "Ninja" -DCMAKE_BUILD_TYPE=Release | |
| - name: Build | |
| run: cmake --build build --parallel |