mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 20:41:25 +00:00
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
|
Debian testing GCC:
|
||
|
extends: .srb2ci
|
||
|
|
||
|
stage: build
|
||
|
|
||
|
when: manual
|
||
|
|
||
|
image: debian:testing-slim
|
||
|
|
||
|
allow_failure: true
|
||
|
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- "bin/"
|
||
|
- "src/comptime.h"
|
||
|
expose_as: "testing-gcc"
|
||
|
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-testing-gcc"
|
||
|
|
||
|
variables:
|
||
|
CC: gcc
|
||
|
LDFLAGS: -Wl,-fuse-ld=gold
|
||
|
|
||
|
script:
|
||
|
- - |
|
||
|
# apt_toolchain
|
||
|
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
|
||
|
- apt-get install gcc
|
||
|
- |
|
||
|
# apt_toolchain
|
||
|
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
|
||
|
|
||
|
- - |
|
||
|
# apt_development
|
||
|
echo -e "\e[0Ksection_start:`date +%s`:apt_development[collapsed=true]\r\e[0KInstalling development packages"
|
||
|
- apt-get install libsdl2-mixer-dev libpng-dev libcurl4-openssl-dev libgme-dev libopenmpt-dev libminiupnpc-dev
|
||
|
- |
|
||
|
# apt_development
|
||
|
echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
|
||
|
|
||
|
- - |
|
||
|
# make
|
||
|
echo -e "\e[0Ksection_start:`date +%s`:make[collapsed=false]\r\e[0KCompiling SRB2"
|
||
|
- make --directory=src --keep-going CCACHE=1 ERRORMODE=1 NONX86=1 || make --directory=src --keep-going CCACHE=1 ERRORMODE=1 NONX86=1
|
||
|
- |
|
||
|
# make
|
||
|
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
|