-
Notifications
You must be signed in to change notification settings - Fork 5
31 lines (27 loc) · 945 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: CI Build
on: [push]
jobs:
build:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- uses: dlang-community/setup-dlang@v1
with:
compiler: ldc-master
- name: prepare-linux
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev
- name: Build
run: |
zig build debugtext_print -DBetterC -DZigCC --verbose --summary all
zig build clear -DBetterC --verbose --summary all
zig build sgl_context -DBetterC -DZigCC --verbose --summary all
zig build cube -DZigCC --verbose --summary all
zig build blend -DZigCC --verbose --summary all