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
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
SteelT
SRB2
Commits
595ce3e2
Commit
595ce3e2
authored
1 year ago
by
Alam Ed Arias
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
Update Debian image
parent
8ace36ef
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+41
-13
41 additions, 13 deletions
.gitlab-ci.yml
with
41 additions
and
13 deletions
.gitlab-ci.yml
+
41
−
13
View file @
595ce3e2
...
...
@@ -4,16 +4,16 @@ stages: # List of stages for jobs, and their order of execution
default
:
image
:
debian:stable-slim
.debconf
:
&debconf
export DEBIAN_FRONTEND="noninteractive";
export DEBIAN_PRIORITY="low";
export DEBCONF_NONINTERACTIVE_SEEN="true";
.job_template
:
&job_build
# This job runs in the build stage, which runs first.
stage
:
build
variables
:
GIT_STRATEGY
:
clone
GIT_CLONE_PATH
:
$CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH
DEBIAN_FRONTEND
:
"
noninteractive"
DEBIAN_PRIORITY
:
"
low"
DEBCONF_NOWARNINGS
:
"
yes"
DEBCONF_NONINTERACTIVE_SEEN
:
"
true"
ERRORMODE
:
1
cache
:
-
key
:
ccache-$CI_PROJECT_PATH_SLUG-$CI_JOB_NAME_SLUG
fallback_keys
:
...
...
@@ -27,6 +27,10 @@ default:
-
apt-cache
unprotect
:
true
before_script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:debconf_pre[collapsed=true]\r\e[0KSetup debconf's environment"
-
*debconf
-
echo -e "\e[0Ksection_end:`date +%s`:debconf_pre\r\e[0K"
-
-
echo -e "\e[0Ksection_start:`date +%s`:dpkg_aa[collapsed=true]\r\e[0KAdding architectures to dpkg"
-
dpkg --add-architecture i386
-
dpkg --add-architecture amd64
...
...
@@ -52,8 +56,8 @@ default:
-
apt-get install apt-utils
-
echo -e "\e[0Ksection_end:`date +%s`:apt_pre\r\e[0K"
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_upgrade[collapsed=true]\r\e[0KUpdating existing packages
(dry-run)
"
-
apt-get upgrade
--simulate
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_upgrade[collapsed=true]\r\e[0KUpdating existing packages"
-
apt-get upgrade
-
echo -e "\e[0Ksection_end:`date +%s`:apt_upgraden\r\e[0K"
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_common[collapsed=true]\r\e[0KInstalling common packages"
...
...
@@ -97,6 +101,10 @@ build-testing:
variables
:
CC
:
gcc
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:debconf[collapsed=true]\r\e[0KSetup debconf's environment"
-
*debconf
-
echo -e "\e[0Ksection_end:`date +%s`:debconf\r\e[0K"
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
apt-get install gcc
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
...
...
@@ -106,7 +114,7 @@ build-testing:
-
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"
-
make --directory=src --keep-going CCACHE=1 NONX86=1 || make --directory=src --keep-going CCACHE=1 NONX86=1
-
make --directory=src --keep-going CCACHE=1
ERRORMODE=1
NONX86=1 || make --directory=src --keep-going CCACHE=1
ERRORMODE=1
NONX86=1
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
build-i686-w64-mingw32
:
...
...
@@ -118,12 +126,16 @@ build-i686-w64-mingw32:
variables
:
PREFIX
:
i686-w64-mingw32
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:debconf[collapsed=true]\r\e[0KSetup debconf's environment"
-
*debconf
-
echo -e "\e[0Ksection_end:`date +%s`:debconf\r\e[0K"
-
-
echo -e "\e[0Ksection_start:`date +%s`:apt_toolchain[collapsed=true]\r\e[0KInstalling toolchain packages"
-
apt-get install gcc-mingw-w64-i686-win32
-
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"
-
make --directory=src --keep-going CCACHE=1 MINGW=1 || make --directory=src --keep-going CCACHE=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
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
build-x86_64-linux-gnu
:
...
...
@@ -138,6 +150,10 @@ build-x86_64-linux-gnu:
OBJDUMP
:
x86_64-linux-gnu-objdump
PKG_CONFIG_PATH
:
/usr/lib/x86_64-linux-gnu/pkgconfig
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:debconf[collapsed=true]\r\e[0KSetup debconf's environment"
-
*debconf
-
echo -e "\e[0Ksection_end:`date +%s`:debconf\r\e[0K"
-
-
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
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
...
...
@@ -147,7 +163,7 @@ build-x86_64-linux-gnu:
-
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"
-
make --directory=src --keep-going CCACHE=1 LINUX64=1 || make --directory=src --keep-going CCACHE=1 LINUX64=1
-
make --directory=src --keep-going CCACHE=1
ERRORMODE=1
LINUX64=1 || make --directory=src --keep-going CCACHE=1
ERRORMODE=1
LINUX64=1
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
build-i686-linux-gnu
:
...
...
@@ -162,6 +178,10 @@ build-i686-linux-gnu:
OBJDUMP
:
i686-linux-gnu-objdump
PKG_CONFIG_PATH
:
/usr/lib/i386-linux-gnu/pkgconfig
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:debconf[collapsed=true]\r\e[0KSetup debconf's environment"
-
*debconf
-
echo -e "\e[0Ksection_end:`date +%s`:debconf\r\e[0K"
-
-
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
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
...
...
@@ -171,7 +191,7 @@ build-i686-linux-gnu:
-
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"
-
make --directory=src --keep-going CCACHE=1 LINUX=1 || make --directory=src --keep-going CCACHE=1 LINUX=1
-
make --directory=src --keep-going CCACHE=1
ERRORMODE=1
LINUX=1 || make --directory=src --keep-going CCACHE=1
ERRORMODE=1
LINUX=1
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
build-aarch64-linux-gnu
:
...
...
@@ -186,6 +206,10 @@ build-aarch64-linux-gnu:
OBJDUMP
:
aarch64-linux-gnu-objdump
PKG_CONFIG_PATH
:
/usr/lib/aarch64-linux-gnu/pkgconfig
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:debconf[collapsed=true]\r\e[0KSetup debconf's environment"
-
*debconf
-
echo -e "\e[0Ksection_end:`date +%s`:debconf\r\e[0K"
-
-
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
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
...
...
@@ -195,7 +219,7 @@ build-aarch64-linux-gnu:
-
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"
-
make --directory=src --keep-going CCACHE=1
LINUX64
=1 NONX86=1 || make --directory=src --keep-going CCACHE=1 LINUX64=1 NONX86=1
-
make --directory=src --keep-going CCACHE=1
ERRORMODE=1 LINUX64=1 ERRORMODE
=1 NONX86=1 || make --directory=src --keep-going CCACHE=1
ERRORMODE=1
LINUX64=1 NONX86=1
-
echo -e "\e[0Ksection_end:`date +%s`:make\r\e[0K"
build-x86_64-w64-mingw32
:
...
...
@@ -207,10 +231,14 @@ build-x86_64-w64-mingw32:
variables
:
PREFIX
:
x86_64-w64-mingw32
script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:debconf[collapsed=true]\r\e[0KSetup debconf's environment"
-
*debconf
-
echo -e "\e[0Ksection_end:`date +%s`:debconf\r\e[0K"
-
-
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
-
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"
-
make --directory=src --keep-going CCACHE=1 MINGW64=1 || make --directory=src --keep-going CCACHE=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
-
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