-
Notifications
You must be signed in to change notification settings - Fork 15
55 lines (47 loc) · 1.15 KB
/
build.yaml
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
name: build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: setup-msys2
uses: msys2/setup-msys2@v2
with:
msystem: MSYS
update: true
install: >-
msys2-devel
base-devel
asciidoc
doxygen
git
meson
ninja
gettext-devel
heimdal-devel
libarchive-devel
libcurl-devel
libgpgme-devel
libsqlite-devel
libunistring-devel
- name: Build
shell: msys2 {0}
run: |
meson _build \
--auto-features=enabled \
--default-library=static \
-Dbuildstatic=true \
-Ddoxygen=enabled \
-Dfile-seccomp=disabled
meson compile -C _build
- name: Install
shell: msys2 {0}
run: |
DESTDIR="$(pwd)"/_dest meson install -C _build
- name: Upload
uses: actions/upload-artifact@v4
with:
name: install
path: _dest/