forked from openconnect/openconnect-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
47 lines (43 loc) · 1.14 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
variables:
BUILD_IMAGES_PROJECT: openconnect/build-images
FEDORA_BUILD: openconnect-cli-fedora
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
MinGW32:
script:
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
- echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
- dnf -y install dnf-plugins-core mingw32-qt5-qtbase
- dnf -y copr enable dwmw2/openconnect
- dnf -y install mingw32-openconnect mingw32-spdlog
- mingw32-cmake .
- make -j4
tags:
- shared
except:
- tags
- schedules
artifacts:
expire_in: 1 week
when: always
paths:
- bin/openconnect-gui.exe
MinGW64:
script:
- dnf remove -y wine.i686
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
- echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register
- dnf -y install dnf-plugins-core mingw64-qt5-qtbase
- dnf -y copr enable dwmw2/openconnect
- dnf -y install mingw64-openconnect mingw64-spdlog
- mingw64-cmake .
- make -j4
tags:
- shared
except:
- tags
- schedules
artifacts:
expire_in: 1 week
when: always
paths:
- bin/openconnect-gui.exe