gitlab-ci: try to build with SDL2 as well

This commit is contained in:
Thomas Bernard 2018-06-01 13:22:00 +02:00
parent b5e75d77b1
commit 830279d891

View File

@ -1,5 +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 libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev
- apt-get install -y -qq gcc-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64-tools nsis
stages:
@ -7,7 +8,9 @@ stages:
job_linux:
stage: build
script: "cd src && make && make ziprelease"
script:
- "cd src && make && make ziprelease"
- "API=sdl2 make"
artifacts:
paths:
- "*.zip"