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
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alam Ed Arias
SRB2
Commits
49041773
Commit
49041773
authored
1 year ago
by
Alam Ed Arias
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
Move the exports to variables section
parent
50d8cb4c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+29
-21
29 additions, 21 deletions
.gitlab-ci.yml
with
29 additions
and
21 deletions
.gitlab-ci.yml
+
29
−
21
View file @
49041773
...
@@ -10,6 +10,8 @@ default:
...
@@ -10,6 +10,8 @@ default:
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
DEBIAN_FRONTEND
:
noninteractive
DEBIAN_FRONTEND
:
noninteractive
CCACHE
:
1
ERRORMODE
:
1
cache
:
cache
:
-
key
:
ccache-$CI_PROJECT_PATH_SLUG-$CI_JOB_NAME_SLUG
-
key
:
ccache-$CI_PROJECT_PATH_SLUG-$CI_JOB_NAME_SLUG
fallback_keys
:
fallback_keys
:
...
@@ -86,6 +88,8 @@ build-testing:
...
@@ -86,6 +88,8 @@ build-testing:
paths
:
paths
:
-
"
bin/lsdl2srb2*"
-
"
bin/lsdl2srb2*"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-testing"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-testing"
variables
:
CC
:
gcc
script
:
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
apt-get install gcc
-
apt-get install gcc
...
@@ -96,7 +100,7 @@ build-testing:
...
@@ -96,7 +100,7 @@ build-testing:
-
echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
-
-
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
NONX86=1 || make --directory=src --keep-going
CCACHE=1 ERRORMODE=1
NONX86=1
-
make --directory=src --keep-going NONX86=1 || make --directory=src --keep-going NONX86=1
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
build-i686-w64-mingw32
:
build-i686-w64-mingw32
:
...
@@ -105,13 +109,15 @@ build-i686-w64-mingw32:
...
@@ -105,13 +109,15 @@ build-i686-w64-mingw32:
paths
:
paths
:
-
"
bin/srb2win.exe*"
-
"
bin/srb2win.exe*"
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
:
PREFIX
:
i686-w64-mingw32
script
:
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
apt-get install gcc-mingw-w64-i686-win32
-
apt-get install gcc-mingw-w64-i686-win32
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
-
-
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 PREFIX=i686-w64-mingw32 || make --directory=src --keep-going CCACHE=1 ERRORMODE=1 MINGW=1 PREFIX=i686-w64-mingw32
-
make --directory=src --keep-going
MINGW=1 || make --directory=src --keep-going MINGW=1
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
build-x86_64-linux-gnu
:
build-x86_64-linux-gnu
:
...
@@ -120,6 +126,11 @@ build-x86_64-linux-gnu:
...
@@ -120,6 +126,11 @@ build-x86_64-linux-gnu:
paths
:
paths
:
-
"
bin/lsdl2srb2*"
-
"
bin/lsdl2srb2*"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-x86-64"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-x86-64"
variables
:
CC
:
x86_64-linux-gnu-gcc
OBJCOPY
:
x86_64-linux-gnu-objcopy
OBJDUMP
:
x86_64-linux-gnu-objdump
PKG_CONFIG_PATH
:
/usr/lib/x86_64-linux-gnu/pkgconfig
script
:
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
apt-get install gcc-x86-64-linux-gnu || apt-get install gcc
-
apt-get install gcc-x86-64-linux-gnu || apt-get install gcc
...
@@ -129,13 +140,8 @@ build-x86_64-linux-gnu:
...
@@ -129,13 +140,8 @@ build-x86_64-linux-gnu:
-
apt-get install libsdl2-mixer-dev:amd64 libpng-dev:amd64 libcurl4-openssl-dev:amd64 libgme-dev:amd64 libopenmpt-dev:amd64
-
apt-get install libsdl2-mixer-dev:amd64 libpng-dev:amd64 libcurl4-openssl-dev:amd64 libgme-dev:amd64 libopenmpt-dev:amd64
-
echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
-
export CC=x86_64-linux-gnu-gcc
-
export OBJCOPY=x86_64-linux-gnu-objcopy
-
export OBJDUMP=x86_64-linux-gnu-objdump
-
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
-
-
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
LINUX64=1 || make --directory=src --keep-going
CCACHE=1 ERRORMODE=1
LINUX64=1
-
make --directory=src --keep-going LINUX64=1 || make --directory=src --keep-going LINUX64=1
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
build-i686-linux-gnu
:
build-i686-linux-gnu
:
...
@@ -144,6 +150,11 @@ build-i686-linux-gnu:
...
@@ -144,6 +150,11 @@ build-i686-linux-gnu:
paths
:
paths
:
-
"
bin/lsdl2srb2*"
-
"
bin/lsdl2srb2*"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-i686"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-i686"
variables
:
CC
:
i686-linux-gnu-gcc
OBJCOPY
:
i686-linux-gnu-objcopy
OBJDUMP
:
i686-linux-gnu-objdump
PKG_CONFIG_PATH
:
/usr/lib/i386-linux-gnu/pkgconfig
script
:
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
apt-get install gcc-i686-linux-gnu || apt-get install gcc
-
apt-get install gcc-i686-linux-gnu || apt-get install gcc
...
@@ -153,13 +164,8 @@ build-i686-linux-gnu:
...
@@ -153,13 +164,8 @@ build-i686-linux-gnu:
-
apt-get install libsdl2-mixer-dev:i386 libpng-dev:i386 libcurl4-openssl-dev:i386 libgme-dev:i386 libopenmpt-dev:i386
-
apt-get install libsdl2-mixer-dev:i386 libpng-dev:i386 libcurl4-openssl-dev:i386 libgme-dev:i386 libopenmpt-dev:i386
-
echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
-
export CC=i686-linux-gnu-gcc
-
export OBJCOPY=i686-linux-gnu-objcopy
-
export OBJDUMP=i686-linux-gnu-objdump
-
export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig
-
-
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
LINUX=1 || make --directory=src --keep-going
CCACHE=1 ERRORMODE=1
LINUX=1
-
make --directory=src --keep-going LINUX=1 || make --directory=src --keep-going LINUX=1
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
build-aarch64-linux-gnu
:
build-aarch64-linux-gnu
:
...
@@ -168,6 +174,11 @@ build-aarch64-linux-gnu:
...
@@ -168,6 +174,11 @@ build-aarch64-linux-gnu:
paths
:
paths
:
-
"
bin/lsdl2srb2*"
-
"
bin/lsdl2srb2*"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-aarch64"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-aarch64"
variables
:
CC
:
aarch64-linux-gnu-gcc
OBJCOPY
:
aarch64-linux-gnu-objcopy
OBJDUMP
:
aarch64-linux-gnu-objdump
PKG_CONFIG_PATH
:
/usr/lib/aarch64-linux-gnu/pkgconfig
script
:
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
apt-get install gcc-aarch64-linux-gnu || apt-get install gcc
-
apt-get install gcc-aarch64-linux-gnu || apt-get install gcc
...
@@ -177,13 +188,8 @@ build-aarch64-linux-gnu:
...
@@ -177,13 +188,8 @@ build-aarch64-linux-gnu:
-
apt-get install libsdl2-mixer-dev:arm64 libpng-dev:arm64 libcurl4-openssl-dev:arm64 libgme-dev:arm64 libopenmpt-dev:arm64
-
apt-get install libsdl2-mixer-dev:arm64 libpng-dev:arm64 libcurl4-openssl-dev:arm64 libgme-dev:arm64 libopenmpt-dev:arm64
-
echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:apt_development\r\e[0K"
-
export CC=aarch64-linux-gnu-gcc
-
export OBJCOPY=aarch64-linux-gnu-objcopy
-
export OBJDUMP=aarch64-linux-gnu-objdump
-
export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig
-
-
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
LINUX64=1 NONX86=1 || make --directory=src --keep-going
CCACHE=1 ERRORMODE=1
LINUX64=1 NONX86=1
-
make --directory=src --keep-going LINUX64=1 NONX86=1 || make --directory=src --keep-going LINUX64=1 NONX86=1
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
build-x86_64-w64-mingw32
:
build-x86_64-w64-mingw32
:
...
@@ -192,11 +198,13 @@ build-x86_64-w64-mingw32:
...
@@ -192,11 +198,13 @@ build-x86_64-w64-mingw32:
paths
:
paths
:
-
"
bin/srb2win64.exe*"
-
"
bin/srb2win64.exe*"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win64"
name
:
"
$CI_PROJECT_PATH_SLUG-$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA-Win64"
variables
:
PREFIX
:
x86_64-w64-mingw32
script
:
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
-
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-get install gcc-mingw-w64-x86-64-win32
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
-
-
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 PREFIX=x86_64-w64-mingw32 || make --directory=src --keep-going CCACHE=1 ERRORMODE=1 MINGW64=1 PREFIX=x86_64-w64-mingw32
-
make --directory=src --keep-going
MINGW64=1 || make --directory=src --keep-going MINGW64=1
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
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