gsplus/.gitlab-ci.yml

233 lines
4.5 KiB
YAML
Raw Normal View History

2016-02-07 16:38:04 +00:00
stages:
- build
- package
2016-02-07 16:38:04 +00:00
2016-02-07 18:48:07 +00:00
build-ubuntu-x:
2016-02-07 16:38:04 +00:00
tags:
- ubuntu
stage: build
2016-02-06 15:19:32 +00:00
script:
- sudo apt-get update -qq && sudo apt-get install -y -qq g++ libpcap0.8-dev libx11-dev libxext-dev
2016-02-06 15:19:32 +00:00
- cd src
- ln -s vars_x86linux_x11 vars
- make clean ; make
2016-10-28 01:55:22 +00:00
artifacts:
paths:
- gsplusx
expire_in: 5 minutes
package-ubuntu-x:
tags:
- ubuntu
stage: package
script:
2016-10-28 04:01:06 +00:00
- cp src/config.txt .
2017-01-23 21:15:59 +00:00
- 'echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt'
- cp LICENSE.txt doc/
2016-10-28 01:55:22 +00:00
artifacts:
paths:
- gsplusx
- config.txt
- doc/gsplusmanual.pdf
- doc/LICENSE.txt
2016-10-28 01:55:22 +00:00
2016-02-06 15:19:32 +00:00
2016-02-07 18:48:07 +00:00
build-ubuntu-sdl:
tags:
- ubuntu
stage: build
script:
- sudo apt-get update -qq && sudo apt-get install -y -qq g++ libpcap0.8-dev libx11-dev libsdl2-dev libfreetype6-dev libsdl2-image-dev
2016-02-07 18:48:07 +00:00
- cd src
- ln -s vars_x86linux_sdl vars
- make clean ; make
2016-10-28 01:55:22 +00:00
2016-03-03 21:25:24 +00:00
build-ubuntu-sdl2:
tags:
- ubuntu
stage: build
script:
- sudo apt-get update -qq && sudo apt-get install -y -qq g++ libpcap0.8-dev libx11-dev libsdl2-dev libfreetype6-dev libsdl2-image-dev
2016-03-03 21:25:24 +00:00
- cd src
- ln -s vars_x86linux_sdl2 vars
- make clean ; make
2017-01-24 14:29:39 +00:00
- mv ../gsplus ../gsplus-ubuntu-sdl
2016-10-28 01:55:22 +00:00
artifacts:
paths:
- gsplus-ubuntu-sdl
2016-10-28 01:55:22 +00:00
expire_in: 5 minutes
package-ubuntu-sdl2:
tags:
- ubuntu
stage: package
script:
- cp src/config.txt .
2017-01-23 21:15:59 +00:00
- 'echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt'
- cp LICENSE.txt doc/
- mv gsplus-ubuntu-sdl gsplus
2016-10-28 01:55:22 +00:00
artifacts:
paths:
- gsplus
- config.txt
2016-11-03 03:40:06 +00:00
- doc/README.txt
- doc/gsplusmanual.pdf
- doc/LICENSE.txt
2016-03-03 21:25:24 +00:00
2016-02-06 15:19:32 +00:00
2016-02-07 16:40:57 +00:00
build-osx:
tags:
- osx
stage: build
script:
- cd src
- ln -s vars_osx_sdl2 vars
- make clean ; make
2017-01-24 14:29:39 +00:00
- mv ../gsplus ../gsplus-osx
artifacts:
paths:
- gsplus-osx
expire_in: 5 minutes
2016-02-07 16:40:57 +00:00
package-osx:
tags:
2016-10-14 18:15:40 +00:00
- osx
stage: package
script:
- mv gsplus-osx gsplus
2017-01-23 21:00:06 +00:00
- cp src/config.txt .
2017-01-23 21:15:59 +00:00
- 'echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt'
- chmod +x make_dist_mac.sh
- ./make_dist_mac.sh
2016-11-03 02:28:16 +00:00
- chmod +x make_dmg_mac.sh
- ./make_dmg_mac.sh
artifacts:
paths:
2016-11-03 02:28:16 +00:00
- GSplus-Install.dmg
2016-02-07 16:40:57 +00:00
2016-04-24 14:50:51 +00:00
build-win32:
tags:
- windows
stage: build
script:
2017-10-16 18:26:55 +00:00
- bash -c "cd src; ln -s vars_win32 vars; make clean ; make"
2016-10-14 20:18:07 +00:00
artifacts:
paths:
- gsplus32.exe
2016-10-14 20:18:07 +00:00
expire_in: 5 minutes
package-win32:
tags:
- windows
stage: package
script:
- cp src/config.txt .
2017-01-23 21:15:59 +00:00
- 'echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt'
- cp LICENSE.txt doc/
- cp /bin/cyggcc_s-1.dll .
- cp /bin/cygstdc++-6.dll .
- cp /bin/cygwin1.dll .
2016-11-08 04:53:48 +00:00
- cp /bin/cygfreetype-6.dll .
2017-01-22 00:52:08 +00:00
artifacts:
paths:
- gsplus32.exe
- config.txt
- doc/gsplusmanual.pdf
2016-11-03 03:40:06 +00:00
- doc/README.txt
- doc/LICENSE.txt
- cyggcc_s-1.dll
- cygstdc++-6.dll
- cygwin1.dll
2017-01-22 00:52:08 +00:00
- cygfreetype-6.dll
build-win-sdl2:
tags:
- windows
stage: build
script:
- cd src
- ln -s vars_win32_sdl2 vars
- make clean
- make
- cp parallel.rom ..
- cp /cygdrive/c/cygwin/bin/cygbz2-1.dll ..
- cp /cygdrive/c/cygwin/bin/cygfreetype-6.dll ..
- cp /cygdrive/c/cygwin/bin/cyggcc_s-1.dll ..
- cp /cygdrive/c/cygwin/bin/cygjpeg-8.dll ..
- cp /cygdrive/c/cygwin/bin/cygpng16-16.dll ..
- cp /cygdrive/c/cygwin/bin/cygjpeg-8.dll ..
- cp /cygdrive/c/cygwin/bin/cygstdc++-6.dll ..
- cp /cygdrive/c/cygwin/bin/cygwin1.dll ..
- cp /cygdrive/c/cygwin/bin/cygz.dll ..
- cp /cygdrive/c/mingw/i686-w64-mingw32/bin/SDL2.dll ..
- cp /cygdrive/c/mingw/i686-w64-mingw32/bin/SDL2_image.dll ..
artifacts:
paths:
- gsplus.exe
- parallel.rom
- cygbz2-1.dll
- cygfreetype-6.dll
- cyggcc_s-1.dll
- cygjpeg-8.dll
- cygpng16-16.dll
- cygjpeg-8.dll
- cygstdc++-6.dll
- cygwin1.dll
- cygz.dll
- SDL2.dll
- SDL2_image.dll
expire_in: 5 minutes
package-win-sdl2:
2016-10-14 20:18:07 +00:00
tags:
- windows
stage: package
script:
- pwd
- ls -al
- cp src/config.txt .
2017-01-23 21:15:59 +00:00
- 'echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt'
- cp LICENSE.txt doc/
2017-01-22 00:52:08 +00:00
2016-10-14 20:18:07 +00:00
artifacts:
paths:
- gsplus.exe
- config.txt
- doc/gsplusmanual.pdf
- doc/LICENSE.txt
2016-11-03 03:40:06 +00:00
- doc/README.txt
- parallel.rom
- cygbz2-1.dll
- cygfreetype-6.dll
- cyggcc_s-1.dll
- cygjpeg-8.dll
- cygpng16-16.dll
- cygjpeg-8.dll
- cygstdc++-6.dll
- cygwin1.dll
2017-01-22 00:52:08 +00:00
- cygz.dll
- SDL2.dll
- SDL2_image.dll