blob: ba1a5816d187079ce7f6fe13ca510ab470674b35 (
plain) (
blame)
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
|
stages:
- build
# - test
# - deploy
# - release
mxe_gcc5:
stage: build
only:
# change me
- branches@jak89_1/docker-testing
script:
# TODO: plz move me in a seperate script
- mkdir /build
- mkdir /logs
- cd /
# remove me
- ls -al
# change me
- git clone https://gitlab.com/jak89_1/manaplus.git -b $CI_COMMIT_BRANCH || exit 1
- cd /manaplus
- ./tools/ci/jobs/mxe_gcc5.sh
- find /manaplus/src -type f -name "*.exe"
- cp /manaplus/src/manaplus.exe /build/
- cp /manaplus/src/dyecmd.exe /build/
- /mxe/tools/copydlldeps.py -C/manaplus/src/ -L/mxe/usr/i686-w64-mingw32.shared/bin/ /build/ || true
# TODO: nsis
- cp -r /manaplus/data/ /build/
- rm -rf /build/data/**/MakeFile.*
- rm -rf /build/data/**/CMakeLists.*
- cp /manaplus/AUTHORS /build/
- cp /manaplus/COPYING /build/
- cp /manaplus/README.txt /build/
- cp /manaplus/packaging/windows/portable.xml /build/
- ls -al /build/
- cp -r /build/ /builds/jak89_1/docker-testing/build
image: registry.gitlab.com/jak89_1/docker-testing:v1.0.2
variables:
CROSS: i686-w64-mingw32.shared
artifacts:
paths:
- build
- logs
when: always
expire_in: 3 week
tags:
- docker
|