Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
ba462eb8
Commit
ba462eb8
authored
Apr 11, 2024
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.gitlab-ci.yml: update
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
dd967c13
Pipeline
#5284
canceled with stage
in 4 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
.gitlab-ci.yml
.gitlab-ci.yml
+19
-0
No files found.
.gitlab-ci.yml
View file @
ba462eb8
...
...
@@ -4,12 +4,31 @@ stages:
job_wrs_compile
:
stage
:
wrs_sw_compile
script
:
-
apt update && apt upgrade -y && apt install -y git make build-essential m4 gettext bison flex texinfo libncurses-dev libncursesw5-dev bc python unzip wget cpio locales
-
locale-gen en_US.UTF-8
# use the user who triggered a job to appear in binaries
-
echo "[user]" > ~/.gitconfig
-
echo " name = CI ${GITLAB_USER_NAME}" >> ~/.gitconfig
-
cd ..
-
echo "Remove leftovers from the previous build"
-
pwd
-
ls -l
-
cd wr-switch-sw && git clean -fdx ; cd ..
-
pwd
-
ls -l
-
ls -l wr-switch-sw
-
ls -l wr-switch-sw/userspace
-
ls -l wr-switch-sw/userspace/ppsi
-
cd wr-switch-sw/userspace/ppsi && git clean -fdx ; cd ../../..
-
rm -rf *.tar
-
rm -rf *.log
-
rm -rf build
-
echo "Using `grep -c ^processor /proc/cpuinfo` parallel jobs"
-
MAKEFLAGS="-j `grep -c ^processor /proc/cpuinfo`" wr-switch-sw/build/wrs_build-all > ${CI_PROJECT_DIR}/log_${CI_JOB_ID}.txt
-
cp *.tar ${CI_PROJECT_DIR}
artifacts
:
name
:
"
wrs_sw_ci_${CI_JOB_ID}"
when
:
always
paths
:
-
log_${CI_JOB_ID}.txt
-
./*.tar
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment