test fix for artifact overwrite issue

- Linux and OSX have same binary artifact name 'gsplus'
- I'm testing to see if scripting around that name helps
- Longer term it's probably better to isolate the builds in dirs ...
  but keeping some shared assets
This commit is contained in:
Dagen Brock 2017-01-23 21:26:56 -06:00
parent 029e072c13
commit 55c9d2fac0

View File

@ -45,7 +45,6 @@ build-ubuntu-sdl:
- make clean ; make - make clean ; make
build-ubuntu-sdl2: build-ubuntu-sdl2:
tags: tags:
- ubuntu - ubuntu
@ -55,9 +54,10 @@ build-ubuntu-sdl2:
- cd src - cd src
- ln -s vars_x86linux_sdl2 vars - ln -s vars_x86linux_sdl2 vars
- make clean ; make - make clean ; make
- mv gsplus gsplus-ubuntu-sdl
artifacts: artifacts:
paths: paths:
- gsplus - gsplus-ubuntu-sdl
expire_in: 5 minutes expire_in: 5 minutes
package-ubuntu-sdl2: package-ubuntu-sdl2:
@ -68,6 +68,7 @@ package-ubuntu-sdl2:
- cp src/config.txt . - cp src/config.txt .
- 'echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt' - 'echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt'
- cp COPYING.txt doc/ - cp COPYING.txt doc/
- mv gsplus-ubuntu-sdl gsplus
artifacts: artifacts:
paths: paths:
- gsplus - gsplus
@ -86,9 +87,10 @@ build-osx:
- cd src - cd src
- ln -s vars_osx_sdl2 vars - ln -s vars_osx_sdl2 vars
- make clean ; make - make clean ; make
- mv gsplus gsplus-osx
artifacts: artifacts:
paths: paths:
- gsplus - gsplus-osx
expire_in: 5 minutes expire_in: 5 minutes
package-osx: package-osx:
@ -96,6 +98,7 @@ package-osx:
- osx - osx
stage: package stage: package
script: script:
- mv gsplus-osx gsplus
- cp src/config.txt . - cp src/config.txt .
- 'echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt' - 'echo "# CI_BUILD_ID: $CI_BUILD_ID" >> config.txt'
- chmod +x make_dist_mac.sh - chmod +x make_dist_mac.sh