-
-
Notifications
You must be signed in to change notification settings - Fork 9
38 lines (35 loc) · 1.05 KB
/
test.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
38
name: Test
on: [push]
env:
V: 1
DEBUG: 3
WERROR: 1
TESTFLAGS: -ct
jobs:
macos:
strategy:
matrix:
os: [macos-15, macos-14, macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with: {filter: "tree:0", fetch-depth: 0}
- run: brew install make
- run: gmake vars
- run: gmake build/gen/feature.h
- run: cat build/gen/feature.h build/feature/*.log
- run: gmake -Otarget check
- run: gmake bench CFLAGS=-O3 DEBUG=0
linux:
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with: {filter: "tree:0", fetch-depth: 0}
- run: make vars
- run: make build/gen/feature.h
- run: cat build/gen/feature.h build/feature/*.log
- run: make -Otarget check
- run: make bench CFLAGS=-O3 DEBUG=0