-
Notifications
You must be signed in to change notification settings - Fork 9
62 lines (56 loc) · 1.37 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
57
58
59
60
61
62
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
freebsd-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: vmactions/freebsd-vm@v1
with:
copyback: false
prepare: |
pkg install -y webkit2-gtk3 wget
run: |
wget https://ziglang.org/download/0.12.1/zig-freebsd-x86_64-0.12.1.tar.xz
tar -xvf zig-freebsd-x86_64-0.12.1.tar.xz
./zig-freebsd-x86_64-0.12.1/zig build
netbsd-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: vmactions/netbsd-vm@v1
with:
copyback: false
prepare: |
/usr/sbin/pkg_add gtk3 webkit-gtk zig
run: zig build
linux-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0
- name: install packages
run: sudo apt-get install libgtk-3-dev libwebkit2gtk-4.0-dev
- run: zig build
macos-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0
- run: zig build
windows-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0
- run: zig build