-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (35 loc) · 901 Bytes
/
ci.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
32
33
34
35
36
37
name: ci
on:
pull_request:
branches:
- trunk
jobs:
build:
strategy:
matrix:
repo:
- vulkan
- wayland
- X11
- glfw
- cimgui
- spirv
- glslang
- shaderc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: sha
shell: bash
run: |
printf 'head=%s\n' "$(git rev-parse HEAD)" >> "${GITHUB_OUTPUT}"
- uses: tiawl/spaceporn-action-ci@43df9f0e7253ba1ada2ff1882a5ac636be43d4eb
with:
repository: "${{ github.repository }}"
additional_zig_opts: "${{ matrix.repo == 'cimgui' && '-Dplatform=GLFW -Drenderer=Vulkan' || '' }}"
sha: "${{ steps.sha.output.head }}"
user: "${{ matrix.repo }}.zig"
token: "${{ github.token }}"
test_build: 'false'
test_update: 'true'
test_fetch: 'true'