-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
30 lines (28 loc) · 919 Bytes
/
.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
image: archlinux:base-devel
stages:
- build
build-win:
stage: build
tags:
- docker
# Taken from:
# https://github.com/Joshua-Ashton/arch-mingw-github-action/blob/master/Dockerfile
before_script:
- echo -e '\n\n[multilib]\nInclude = /etc/pacman.d/mirrorlist\n\n' >> /etc/pacman.conf
- echo "Updating Arch"
- pacman-key --init
- pacman -Sy --needed --noconfirm archlinux-keyring
- pacman -Syu --needed --noconfirm
- echo "Installing mingw-w64"
- pacman -Syu --needed --noconfirm meson mingw-w64
script:
- echo "Compiling Windows 32bit"
- meson build-w32 --cross-file=build-win32.txt --buildtype=release
- ninja -C build-w32 -v
- echo "Compiling Windows 64bit"
- meson build-w64 --cross-file=build-win64.txt --buildtype=release
- ninja -C build-w64 -v
artifacts:
paths:
- build-w32/OFSExtractor32.exe
- build-w64/OFSExtractor64.exe