-
-
Notifications
You must be signed in to change notification settings - Fork 91
56 lines (56 loc) · 1.26 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: CI
jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- run: make check
windows:
runs-on: windows-latest
timeout-minutes: 10
env:
MSYS2_DIR: msys64
MSYS2_ARCH: x86_64
MSYSTEM: MINGW64
ARCH: win64
PLATFORM: x64
steps:
# see https://github.com/msys2/setup-msys2
- name: setup-msys2
uses: msys2/setup-msys2@v2
with:
path-type: minimal
update: true
install: >-
git
base-devel
mingw-w64-x86_64-toolchain
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- shell: msys2 {0}
run: make check
macOS:
runs-on: macos-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- run: make check
aarch64:
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2.8.1
name: check on aarch64
id: runcmd
with:
arch: aarch64
githubToken: ${{ github.token }}
distro: ubuntu_latest
install: |
apt-get update -q -y
apt-get install -y make gcc grep
run: make check