mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-18 08:51:29 +00:00
35 lines
1.2 KiB
YAML
35 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"
|