blob: baf5a9397c6de3600cf28a9cda5c4ae3d7e493a8 (
plain) (
tree)
|
|
stages:
- build
# - test
# - deploy
# - release
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
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
# change me in docker (laterâ„¢)
- sed -i 's|#define GL_GLEXT_VERSION 29|#ifndef GL_GLEXT_VERSION\n#define GL_GLEXT_VERSION 29\n#endif|' /mxe/usr/i686-w64-mingw32.shared/include/SDL/SDL_opengl.h
- ./tools/ci/jobs/mxe_gcc5.sh
- find manaplus/src -type f -name "*.exe"
- mv manaplus.exe /build
- mv 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
- cp /AUTHORS /build
- cp /COPYING /build
- cp /README.txt /build
- cp packaging/windows/portable.xml /build
- ls -al /build
image: registry.gitlab.com/jak89_1/docker-testing:v1.0.1
variables:
CROSS: i686-w64-mingw32.shared
artifacts:
paths:
- /build
- /logs
when: always
expire_in: 3 week
tags:
- docker
|