Skip to content

Commit 696b4d5

Browse files
committed
better ci
1 parent 3a02cb4 commit 696b4d5

File tree

2 files changed

+37
-15
lines changed

2 files changed

+37
-15
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SPDX-FileCopyrightText: © 2025 Mark Delk <jethrodaniel@gmail.com>
2+
#
3+
# SPDX-License-Identifier: Zlib
4+
5+
name: ci
6+
7+
on: [pull_request]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: license check
16+
uses: fsfe/reuse-action@v4
17+
18+
- name: setup zig
19+
uses: mlugg/setup-zig@v2
20+
with:
21+
version: 0.14.1
22+
23+
- name: Install SDL dependencies
24+
run: |
25+
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
26+
27+
- name: zig build
28+
run: zig build --summary all
29+
30+
- name: Build SDL test programs
31+
run: zig build --summary all sdl-test
32+
33+
- name: Build SDL example programs
34+
run: zig build --summary all sdl-examples
35+
36+
- name: Build Zig examples
37+
run: zig build --summary all zig-examples

.github/workflows/reuse.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)