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
3adc15d5
Commit
3adc15d5
authored
1 year ago
by
Alam Ed Arias
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
Only need to setup debconf in before_script
parent
b8861b19
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
+15
-33
15 additions, 33 deletions
.gitlab-ci.yml
with
15 additions
and
33 deletions
.gitlab-ci.yml
+
15
−
33
View file @
3adc15d5
default
:
image
:
debian:stable-slim
stages
:
# List of stages for jobs, and their order of execution
stages
:
# List of stages for jobs, and their order of execution
-
build
-
build
default
:
variables
:
image
:
debian:stable-slim
GIT_STRATEGY
:
clone
GIT_CLONE_PATH
:
$CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH
.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.
.job_template
:
&job_build
# This job runs in the build stage, which runs first.
stage
:
build
stage
:
build
variables
:
GIT_STRATEGY
:
clone
GIT_CLONE_PATH
:
$CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH
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
:
...
@@ -22,14 +20,18 @@ default:
...
@@ -22,14 +20,18 @@ default:
paths
:
paths
:
-
ccache
-
ccache
-
ccache_statslog
-
ccache_statslog
-
key
:
apt-$CI_JOB_IMAGE
-
key
:
apt-$CI_JOB_IMAGE
paths
:
paths
:
-
apt-cache
-
apt-cache
unprotect
:
true
unprotect
:
true
before_script
:
before_script
:
-
-
echo -e "\e[0Ksection_start:`date +%s`:debconf_pre[collapsed=true]\r\e[0KSetup debconf's environment"
-
-
echo -e "\e[0Ksection_start:`date +%s`:debconf[collapsed=true]\r\e[0KSetup debconf's environment"
-
*debconf
-
export DEBIAN_FRONTEND="noninteractive"
-
echo -e "\e[0Ksection_end:`date +%s`:debconf_pre\r\e[0K"
-
export DEBIAN_PRIORITY="low"
-
export DEBCONF_NONINTERACTIVE_SEEN="true"
-
echo -e "\e[0Ksection_end:`date +%s`:debconf\r\e[0K"
-
-
echo -e "\e[0Ksection_start:`date +%s`:dpkg_aa[collapsed=true]\r\e[0KAdding architectures to dpkg"
-
-
echo -e "\e[0Ksection_start:`date +%s`:dpkg_aa[collapsed=true]\r\e[0KAdding architectures to dpkg"
-
dpkg --add-architecture i386
-
dpkg --add-architecture i386
...
@@ -122,10 +124,6 @@ build-i686-w64-mingw32:
...
@@ -122,10 +124,6 @@ build-i686-w64-mingw32:
variables
:
variables
:
PREFIX
:
i686-w64-mingw32
PREFIX
:
i686-w64-mingw32
script
:
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"
-
-
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"
...
@@ -146,10 +144,6 @@ build-x86_64-linux-gnu:
...
@@ -146,10 +144,6 @@ build-x86_64-linux-gnu:
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
script
:
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"
-
-
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
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
...
@@ -174,10 +168,6 @@ build-i686-linux-gnu:
...
@@ -174,10 +168,6 @@ build-i686-linux-gnu:
OBJDUMP
:
i686-linux-gnu-objdump
OBJDUMP
:
i686-linux-gnu-objdump
PKG_CONFIG_PATH
:
/usr/lib/i386-linux-gnu/pkgconfig
PKG_CONFIG_PATH
:
/usr/lib/i386-linux-gnu/pkgconfig
script
:
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"
-
-
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
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
...
@@ -202,10 +192,6 @@ build-aarch64-linux-gnu:
...
@@ -202,10 +192,6 @@ build-aarch64-linux-gnu:
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
script
:
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"
-
-
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
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
-
echo -e "\e[0Ksection_end:`date +%s`:apt_toolchain\r\e[0K"
...
@@ -227,10 +213,6 @@ build-x86_64-w64-mingw32:
...
@@ -227,10 +213,6 @@ build-x86_64-w64-mingw32:
variables
:
variables
:
PREFIX
:
x86_64-w64-mingw32
PREFIX
:
x86_64-w64-mingw32
script
:
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"
-
-
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"
...
...
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