Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Show Cases
Embedded World 2020
linux
Commits
a92de8ba
Commit
a92de8ba
authored
Feb 05, 2020
by
Ezequiel Garcia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gitlab-ci
Signed-off-by:
Ezequiel Garcia
<
ezequiel@collabora.com
>
parent
ac6f2201
Pipeline
#7108
passed with stage
in 37 minutes and 52 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
.gitlab-ci.yml
.gitlab-ci.yml
+37
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
a92de8ba
variables
:
APT_OPTIONS
:
-y --allow-unauthenticated
ARCH
:
arm64
CROSS_COMPILE
:
aarch64-linux-gnu-
CCACHE_BASEDIR
:
$CI_PROJECT_DIR
CCACHE_DIR
:
$CI_PROJECT_DIR/ccache
stages
:
-
build
# Retry jobs after runner system failures
.retry
:
&retry
retry
:
max
:
2
when
:
-
runner_system_failure
build
:
stage
:
build
image
:
debian:testing
cache
:
paths
:
-
ccache
before_script
:
-
echo "deb http://deb.debian.org/debian testing main contrib non-free" > /etc/apt/sources.list
-
echo "deb-src http://deb.debian.org/debian testing main contrib non-free" >> /etc/apt/sources.list
-
apt-get update && apt-get $APT_OPTIONS build-dep linux && apt-get $APT_OPTIONS install devscripts ccache fakeroot gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
script
:
-
export PATH="/usr/lib/ccache:$PATH"
-
ccache -s
-
make imx_v8_defconfig
-
make -j$(nproc) bindeb-pkg
-
mkdir artifacts && dcmd mv ../*.changes artifacts/
artifacts
:
name
:
debs
paths
:
-
$CI_PROJECT_DIR/artifacts/*.deb
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