File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : ["main"]
6
+ pull_request :
7
+ branches : ["main"]
8
+
9
+ jobs :
10
+ build-linux :
11
+ name : Build (Linux)
12
+ runs-on : ubuntu-24.04
13
+
14
+ steps :
15
+ - name : Install dependencies
16
+ run : |
17
+ sudo apt-get update
18
+ sudo apt-get install meson libbz2-dev
19
+ - name : Checkout code
20
+ uses : actions/checkout@v4
21
+ - name : Setup build
22
+ run : meson setup build
23
+ - name : Build library
24
+ run : meson compile -C build/
25
+
26
+ build-macos :
27
+ name : Build (macOS)
28
+ runs-on : macos-14
29
+
30
+ steps :
31
+ - name : Install dependencies
32
+ run : brew install meson ninja
33
+ - name : Checkout code
34
+ uses : actions/checkout@v4
35
+ - name : Setup build
36
+ run : meson setup build
37
+ - name : Build library
38
+ run : meson compile -C build/
39
+
40
+ build-windows :
41
+ name : Build (Windows MINGW64)
42
+ runs-on : windows-2022
43
+ defaults :
44
+ run :
45
+ shell : msys2 {0}
46
+
47
+ steps :
48
+ - name : Setup MSYS2 and install dependencies
49
+ uses : msys2/setup-msys2@v2
50
+ with :
51
+ install : >-
52
+ mingw-w64-x86_64-toolchain
53
+ mingw-w64-x86_64-meson
54
+ mingw-w64-x86_64-bzip2
55
+ - name : Checkout code
56
+ uses : actions/checkout@v4
57
+ - name : Setup build
58
+ run : meson setup build
59
+ - name : Build library
60
+ run : meson compile -C build/
You can’t perform that action at this time.
0 commit comments