-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 876 Bytes
/
main.yml
File metadata and controls
39 lines (38 loc) · 876 Bytes
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
38
39
on:
push:
branches:
- master
pull_request:
name: Checks
jobs:
check:
runs-on: ubuntu-24.04
strategy:
matrix:
zig:
- latest
- master
optimize:
- Debug
- ReleaseSafe
- ReleaseFast
- ReleaseSmall
lookupTable:
- none
- small
- all
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Setup Zig
uses: mlugg/setup-zig@v1.2.1
with:
version: ${{ matrix.zig }}
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version-file: package.json
- name: Install Test Dependencies
run: bun i
- name: Run Compatibility Test
run: zig build test-compat -Doptimize=${{ matrix.optimize }} -Dlookup-table=${{ matrix.lookupTable }}