Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
b86e77e5
Commit
b86e77e5
authored
1 year ago
by
Alam Ed Arias
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into next
parents
4196252e
981b2029
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!2355
fix newer versions of mixerx
Pipeline
#896
passed
1 year ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+29
-31
29 additions, 31 deletions
.gitlab-ci.yml
with
29 additions
and
31 deletions
.gitlab-ci.yml
+
29
−
31
View file @
b86e77e5
default
:
image
:
debian:stable-slim
stages
:
# List of stages for jobs, and their order of execution
-
build
variables
:
variables
:
GIT_STRATEGY
:
clone
GIT_STRATEGY
:
clone
GIT_CLONE_PATH
:
$CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH
GIT_CLONE_PATH
:
$CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH
.job_template
:
&job_build
# This job runs in the build stage, which runs first.
default
:
image
:
debian:stable-slim
stage
:
build
cache
:
cache
:
-
key
:
ccache-$CI_PROJECT_PATH_SLUG-$CI_JOB_NAME_SLUG
-
key
:
ccache-$CI_PROJECT_PATH_SLUG-$CI_JOB_NAME_SLUG
...
@@ -96,7 +89,7 @@ variables:
...
@@ -96,7 +89,7 @@ variables:
-
-
|
-
-
|
# apt_common
# apt_common
echo -e "\e[0Ksection_start:`date +%s`:apt_common[collapsed=true]\r\e[0KInstalling common packages"
echo -e "\e[0Ksection_start:`date +%s`:apt_common[collapsed=true]\r\e[0KInstalling common packages"
-
apt-get install make git ccache
-
apt-get install make git ccache
nasm
-
|
-
|
# apt_common
# apt_common
echo -e "\e[0Ksection_end:`date +%s`:apt_common\r\e[0K"
echo -e "\e[0Ksection_end:`date +%s`:apt_common\r\e[0K"
...
@@ -137,6 +130,12 @@ variables:
...
@@ -137,6 +130,12 @@ variables:
# ccache_reset
# ccache_reset
echo -e "\e[0Ksection_end:`date +%s`:ccache_reset\r\e[0K"
echo -e "\e[0Ksection_end:`date +%s`:ccache_reset\r\e[0K"
artifacts
:
paths
:
-
"
bin/"
-
"
src/comptime.h"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-$CI_JOB_NAME_SLUG"
after_script
:
after_script
:
-
-
|
-
-
|
# apt_clean
# apt_clean
...
@@ -155,21 +154,21 @@ variables:
...
@@ -155,21 +154,21 @@ variables:
# ccahe_stats
# ccahe_stats
echo -e "\e[0Ksection_end:`date +%s`:ccache_stats\r\e[0K"
echo -e "\e[0Ksection_end:`date +%s`:ccache_stats\r\e[0K"
stages
:
-
build
Debian testing GCC
:
Debian testing GCC
:
<<
:
*job_
build
stage
:
build
image
:
debian:testing-slim
image
:
debian:testing-slim
allow_failure
:
true
allow_failure
:
true
artifacts
:
artifacts
:
paths
:
-
"
bin/"
-
"
src/comptime.h"
expose_as
:
"
Debian
GCC
testing"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-testing-gcc"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-testing-gcc"
variables
:
variables
:
CC
:
gcc
CC
:
gcc
LDFLAGS
:
-Wl,-fuse-ld=gold
script
:
script
:
-
-
|
-
-
|
...
@@ -197,12 +196,13 @@ Debian testing GCC:
...
@@ -197,12 +196,13 @@ Debian testing GCC:
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
Windows x86
:
Windows x86
:
<<
:
*job_
build
stage
:
build
artifacts
:
artifacts
:
paths
:
paths
:
-
"
bin/"
-
"
bin/"
-
"
src/comptime.h"
-
"
src/comptime.h"
expose_as
:
"
Win32"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win32"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win32"
variables
:
variables
:
...
@@ -220,13 +220,13 @@ Windows x86:
...
@@ -220,13 +220,13 @@ Windows x86:
-
-
|
-
-
|
# make
# make
echo -e "\e[0Ksection_start:`date +%s`:make[collapsed=false]\r\e[0KCompiling SRB2"
echo -e "\e[0Ksection_start:`date +%s`:make[collapsed=false]\r\e[0KCompiling SRB2"
-
make --directory=src --keep-going CCACHE=1 ERRORMODE=1 MINGW=1 || make --directory=src --keep-going CCACHE=1 ERRORMODE=1 MINGW=1
-
make --directory=src --keep-going CCACHE=1 ERRORMODE=1 MINGW=1
SDL=1
|| make --directory=src --keep-going CCACHE=1 ERRORMODE=1 MINGW=1
SDL=1
-
|
-
|
# make
# make
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
Debian stable:amd64
:
Debian stable:amd64
:
<<
:
*job_
build
stage
:
build
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -237,6 +237,7 @@ Debian stable:amd64:
...
@@ -237,6 +237,7 @@ Debian stable:amd64:
variables
:
variables
:
CC
:
x86_64-linux-gnu-gcc
CC
:
x86_64-linux-gnu-gcc
LDFLAGS
:
-Wl,-fuse-ld=gold
OBJCOPY
:
x86_64-linux-gnu-objcopy
OBJCOPY
:
x86_64-linux-gnu-objcopy
OBJDUMP
:
x86_64-linux-gnu-objdump
OBJDUMP
:
x86_64-linux-gnu-objdump
PKG_CONFIG_PATH
:
/usr/lib/x86_64-linux-gnu/pkgconfig
PKG_CONFIG_PATH
:
/usr/lib/x86_64-linux-gnu/pkgconfig
...
@@ -267,7 +268,7 @@ Debian stable:amd64:
...
@@ -267,7 +268,7 @@ Debian stable:amd64:
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
Debian stable:i386
:
Debian stable:i386
:
<<
:
*job_
build
stage
:
build
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -308,7 +309,7 @@ Debian stable:i386:
...
@@ -308,7 +309,7 @@ Debian stable:i386:
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
Debian stable:arm64
:
Debian stable:arm64
:
<<
:
*job_
build
stage
:
build
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -319,6 +320,7 @@ Debian stable:arm64:
...
@@ -319,6 +320,7 @@ Debian stable:arm64:
variables
:
variables
:
CC
:
aarch64-linux-gnu-gcc
CC
:
aarch64-linux-gnu-gcc
LDFLAGS
:
-Wl,-fuse-ld=gold
OBJCOPY
:
aarch64-linux-gnu-objcopy
OBJCOPY
:
aarch64-linux-gnu-objcopy
OBJDUMP
:
aarch64-linux-gnu-objdump
OBJDUMP
:
aarch64-linux-gnu-objdump
PKG_CONFIG_PATH
:
/usr/lib/aarch64-linux-gnu/pkgconfig
PKG_CONFIG_PATH
:
/usr/lib/aarch64-linux-gnu/pkgconfig
...
@@ -349,7 +351,7 @@ Debian stable:arm64:
...
@@ -349,7 +351,7 @@ Debian stable:arm64:
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
Windows x64
:
Windows x64
:
<<
:
*job_
build
stage
:
build
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -373,26 +375,24 @@ Windows x64:
...
@@ -373,26 +375,24 @@ Windows x64:
-
-
|
-
-
|
# make
# make
echo -e "\e[0Ksection_start:`date +%s`:make[collapsed=false]\r\e[0KCompiling SRB2"
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 || make --directory=src --keep-going CCACHE=1 ERRORMODE=1 MINGW64=1
-
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
# make
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
Debian stable Clang
:
Debian stable Clang
:
<<
:
*job_
build
stage
:
build
allow_failure
:
true
allow_failure
:
true
artifacts
:
artifacts
:
paths
:
-
"
bin/"
-
"
src/comptime.h"
expose_as
:
"
Debian
Clang"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-clang"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-clang"
variables
:
variables
:
CC
:
clang
CC
:
clang
WFLAGS
:
-Wno-cast-align
CFLAGS
:
-Wno-cast-align
CFLAGS
:
-Wno-cast-align
LDFLAGS
:
-Wl,-fuse-ld=gold
script
:
script
:
-
-
|
-
-
|
...
@@ -425,12 +425,10 @@ Debian testing Clang:
...
@@ -425,12 +425,10 @@ Debian testing Clang:
image
:
debian:testing-slim
image
:
debian:testing-slim
artifacts
:
artifacts
:
paths
:
-
"
bin/"
-
"
src/comptime.h"
expose_as
:
"
Debina
Clang
testing"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-testing-clang"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-testing-clang"
variables
:
variables
:
CC
:
clang
CC
:
clang
WFLAGS
:
-Wno-cast-align -Wno-deprecated-non-prototype
CFLAGS
:
-Wno-cast-align -Wno-deprecated-non-prototype
CFLAGS
:
-Wno-cast-align -Wno-deprecated-non-prototype
LDFLAGS
:
-Wl,-fuse-ld=gold
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment