mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
dfada161cc
The singular .gitlab-ci.yml is pretty beefy. Splitting it into smaller files by job and job template will make maintaining the individual jobs easier.
34 lines
1.2 KiB
YAML
34 lines
1.2 KiB
YAML
Alpine 3 GCC Dedicated:
|
|
extends: Alpine 3 GCC
|
|
|
|
artifacts:
|
|
paths:
|
|
- "bin/"
|
|
- "src/comptime.h"
|
|
expose_as: "Apline-3-Dedicated"
|
|
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Apline-3-Dedicated"
|
|
|
|
script:
|
|
- - |
|
|
# apk_toolchain
|
|
echo -e "\e[0Ksection_start:`date +%s`:apk_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
|
|
- apk add gcc
|
|
- |
|
|
# apk_toolchain
|
|
echo -e "\e[0Ksection_end:`date +%s`:apk_toolchain\r\e[0K"
|
|
|
|
- - |
|
|
# apk_development
|
|
echo -e "\e[0Ksection_start:`date +%s`:apk_development[collapsed=true]\r\e[0KInstalling development packages"
|
|
- apk add musl-dev libpng-dev curl-dev
|
|
- |
|
|
# apk_development
|
|
echo -e "\e[0Ksection_end:`date +%s`:apk_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 NOEXECINFO=1 DEDICATED=1 || make --directory=src --keep-going CCACHE=1 ERRORMODE=1 NONX86=1 NOEXECINFO=1 DEDICATED=1
|
|
- |
|
|
# make
|
|
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
|