Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
steam-runtime-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
steamrt
steam-runtime-tools
Commits
55bb5338
Commit
55bb5338
authored
5 years ago
by
Simon McVittie
Browse files
Options
Downloads
Patches
Plain Diff
Add Gitlab-CI
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
96b77989
No related branches found
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
+61
-0
61 additions, 0 deletions
.gitlab-ci.yml
with
61 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
61
−
0
View file @
55bb5338
variables
:
DEBIAN_FRONTEND
:
noninteractive
SCOUT_DOCKER_REGISTRY
:
docker.steamos.cloud
SCOUT_DOCKER_IMAGE
:
steamrt/sdk:scout
SCOUT_APT_SOURCES_FILE
:
'
'
DEVEL_DOCKER_REGISTRY
:
docker.steamos.cloud
DEVEL_DOCKER_IMAGE
:
steamos/package-builder:buster
build:devel
:
image
:
"
${DEVEL_DOCKER_REGISTRY}/${DEVEL_DOCKER_IMAGE}"
script
:
-
|
set -eux
apt-get -y --no-install-recommends install \
libglib2.0-dev \
libxau-dev \
meson \
${NULL+}
meson _build
ninja -C _build
ninja -C _build install
meson test --verbose -C _build
build:scout
:
image
:
"
${SCOUT_DOCKER_REGISTRY}/${SCOUT_DOCKER_IMAGE}"
script
:
-
|
set -eux
if [ -n "${SCOUT_APT_SOURCES_FILE}" ]; then
cp "${SCOUT_APT_SOURCES_FILE}" /etc/apt/sources.list
apt-get -y update
fi
apt-get -y --no-install-recommends install \
bubblewrap \
libcapsule0 \
libcapsule-tools-relocatable \
libglib2.0-dev \
libxau-dev \
meson \
${NULL+}
meson \
--prefix="$(pwd)/_build/relocatable-install" \
-Dpython=python3.5 \
-Drelocatable=true \
_build
ninja -C _build
ninja -C _build install
meson test --verbose -C _build
# Artifacts are currently disabled because uploading them to the
# coordinator results in HTTP 413 Request Entity Too Large.
# artifacts:
# paths:
# - _build/pressure-vessel-*-bin.tar.gz
# - _build/pressure-vessel-*-bin+src.tar.gz
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