mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 05:41:42 +00:00
36 lines
981 B
YAML
36 lines
981 B
YAML
|
Windows x64:
|
||
|
extends: .srb2ci
|
||
|
|
||
|
stage: build
|
||
|
|
||
|
when: manual
|
||
|
|
||
|
allow_failure: true
|
||
|
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- "bin/"
|
||
|
- "src/comptime.h"
|
||
|
expose_as: "Win64"
|
||
|
name: "$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win64"
|
||
|
|
||
|
variables:
|
||
|
PREFIX: x86_64-w64-mingw32
|
||
|
|
||
|
script:
|
||
|
- - |
|
||
|
# apt_toolchain
|
||
|
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
|
||
|
- apt-get install gcc-mingw-w64-x86-64-win32
|
||
|
- |
|
||
|
# apt_toolchain
|
||
|
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\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 MINGW64=1 SDL=1 || make --directory=src --keep-going CCACHE=1 ERRORMODE=1 MINGW64=1 SDL=1
|
||
|
- |
|
||
|
# make
|
||
|
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
|