-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitlab-ci.yml
65 lines (62 loc) · 2.12 KB
/
.gitlab-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
63
64
65
debian:
image: debian:testing
stage: build
artifacts:
expire_in: 1 week
paths:
- build
script:
- apt update
- apt full-upgrade -y
- apt install meson gcc valac gobject-introspection patchelf --no-install-recommends -y
- apt install libarchive-dev libreadline-dev libcurl4-openssl-dev libbrotli-dev libmagic-dev libidn2-0-dev libpsl-dev --no-install-recommends -y
- meson build -Ddebug=true -Dtools=true -Dlibbrotli=false -Dtest=true
- ninja -C build
- bash scripts/remove-symver build/libymp.so build/ymp-cli build/ymp-shell
- cd build && timeout 30 ./ymp-test || true
- ninja install
archlinux:
image: archlinux:latest
stage: build
artifacts:
expire_in: 1 week
paths:
- build
script:
- pacman -Syyu --noconfirm
- pacman -Sy gcc vala gobject-introspection patchelf which --noconfirm
- pacman -Sy meson curl libarchive readline file --noconfirm
- meson build -Ddebug=true -Dtools=true -Dtest=true
- ninja -C build
- bash scripts/remove-symver build/libymp.so build/ymp-cli build/ymp-shell
- cd build && timeout 30 ./ymp-test || true
- ninja install
alpine:
image: alpine:edge
stage: build
artifacts:
expire_in: 1 week
paths:
- build
script:
- apk update
- apk add meson musl-dev gcc bash vala glib-dev readline-dev libarchive-dev libcurl curl-dev upx file-dev libmagic
- apk add libarchive readline glib zlib ncurses acl expat openssl xz-dev zstd lz4 bzip2 curl brotli nghttp2 libidn2-dev libidn2 libpsl-dev libpsl
- meson build -Ddebug=false -Dtools=true -Dtest=true
- ninja -C build
- upx -9 build/* || true
- cd build && timeout 30 ./ymp-test || true
- ninja install
turkman:
image: registry.gitlab.com/turkman/devel/assets/docker-images
stage: build
artifacts:
expire_in: 1 week
paths:
- build
script:
- ymp repo --update --ignore-gpg
- ymp it meson ninja gcc bash vala binutils flex pkgconf file --no-emerge --upgrade --ignore-quarantine
- meson build -Ddebug=false -Dtools=true -Dtest=true -Dlibbrotli=false
- ninja -C build
- ninja -C build install