build Win32 installer with gitlab-ci

call "make ziprelease" if needed
This commit is contained in:
Thomas Bernard
2018-05-13 22:51:44 +02:00
parent d72fb40b27
commit 1147a8f49f
4 changed files with 26 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
before_script:
- apt-get update -qq && apt-get install -y -qq libsdl1.2-dev libpng-dev libsdl-ttf2.0-dev libsdl-image1.2-dev liblua5.1-0-dev zip
- apt-get install -y -qq gcc-mingw-w64-i686 mingw-w64-tools
- apt-get install -y -qq gcc-mingw-w64-i686 mingw-w64-tools nsis
stages:
- build
@@ -18,6 +18,8 @@ job_win32:
- "WIN32CROSS=1 make 3rdparty"
- "WIN32CROSS=1 make -j3"
- "WIN32CROSS=1 make ziprelease"
- "WIN32CROSS=1 make win32installer"
artifacts:
paths:
- "*.zip"
- "install/grafx2*.exe"