support zig 0.14.1 #1
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
| # SPDX-FileCopyrightText: © 2025 Mark Delk <jethrodaniel@gmail.com> | |
| # | |
| # SPDX-License-Identifier: Zlib | |
| name: ci | |
| on: [pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: license check | |
| uses: fsfe/reuse-action@v4 | |
| - name: setup zig | |
| uses: mlugg/setup-zig@v2 | |
| with: | |
| version: 0.14.1 | |
| - name: Install SDL dependencies | |
| run: | | |
| sudo apt-get install -y build-essential git make pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev libpipewire-0.3-dev libwayland-dev libdecor-0-dev liburing-dev | |
| - name: zig build | |
| run: zig build --summary all | |
| - name: Build SDL test programs | |
| run: zig build --summary all sdl-test | |
| - name: Build SDL example programs | |
| run: zig build --summary all sdl-examples | |
| - name: Build Zig examples | |
| run: zig build --summary all zig-examples |