Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Fabrizio Castro
linux
Commits
1666e19c
Commit
1666e19c
authored
4 years ago
by
Fabrizio Castro
Browse files
Options
Downloads
Patches
Plain Diff
[HACK] Add .gitlab-ci.yml
Signed-off-by:
Fabrizio Castro
<
fabrizio.castro@collabora.com
>
parent
7c1db58d
No related branches found
No related tags found
No related merge requests found
Pipeline
#6983
passed with stage
in 18 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+39
-0
39 additions, 0 deletions
.gitlab-ci.yml
with
39 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
39
−
0
View file @
1666e19c
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 ew_demo_defconfig
-
make -j$(nproc) bindeb-pkg
-
mkdir artifacts && dcmd mv ../*.changes artifacts/
-
cp $(ls artifacts/linux-image*_arm64.deb | grep -v dbg) artifacts/linux-image_arm64.deb
artifacts
:
name
:
debs
paths
:
-
$CI_PROJECT_DIR/artifacts/*.deb
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