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
75db5527
Commit
75db5527
authored
5 years ago
by
Simon McVittie
Browse files
Options
Downloads
Patches
Plain Diff
Move Gitlab-CI setup into debian directory
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
c0f34032
No related branches found
Branches containing commit
Tags
pressure-vessel-v0.20190819.0
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+0
-93
0 additions, 93 deletions
.gitlab-ci.yml
debian/gitlab-ci.yml
+79
-0
79 additions, 0 deletions
debian/gitlab-ci.yml
with
79 additions
and
93 deletions
.gitlab-ci.yml
deleted
100644 → 0
+
0
−
93
View file @
c0f34032
include
:
-
project
:
'
steam/steam-ci-pipeline'
file
:
'
/steam-gitlab-ci-common.yml'
-
project
:
'
steam/steam-ci-pipeline'
file
:
'
/steam-gitlab-ci-pipeline.yml'
variables
:
BUILD_IMAGE
:
docker.internal.steamos.cloud/steamrt/sdk:scout-latest
STEAM_CI_USE_BINARIES_FROM
:
autopkgtest
STEAM_CI_DEPENDENCIES
:
>-
debhelper
libglib2.0-dev
libxau-dev
meson
python3
python3.5
zlib1g
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
:
variables
:
BUILD_IMAGE
:
docker.internal.steamos.cloud/steamos/package-builder:buster
build:devel
:
stage
:
build
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
:
stage
:
build
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:amd64 \
libcapsule-tools-relocatable:i386 \
libglib2.0-dev \
libxau-dev \
meson \
${NULL+}
meson \
--prefix="$(pwd)/_build/prefix" \
-Dpython=python3.5 \
-Dsrcdir=src \
_build
ninja -C _build
meson test --verbose -C _build
ninja -C _build install
rm -fr _build/relocatable-install
_build/prefix/bin/pressure-vessel-build-relocatable-install \
--output _build/relocatable-install \
--archive "$(pwd)/_build" \
${NULL+}
prove -v ./tests/relocatable-install.py :: \
"$(pwd)/_build/relocatable-install"
# 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.
debian/gitlab-ci.yml
+
79
−
0
View file @
75db5527
...
...
@@ -8,7 +8,86 @@ include:
variables
:
BUILD_IMAGE
:
docker.internal.steamos.cloud/steamrt/sdk:scout-latest
STEAM_CI_USE_BINARIES_FROM
:
autopkgtest
STEAM_CI_DEPENDENCIES
:
>-
debhelper
libglib2.0-dev
libxau-dev
meson
python3
python3.5
zlib1g
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
:
variables
:
BUILD_IMAGE
:
docker.internal.steamos.cloud/steamos/package-builder:buster
build:devel
:
stage
:
build
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
:
stage
:
build
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:amd64 \
libcapsule-tools-relocatable:i386 \
libglib2.0-dev \
libxau-dev \
meson \
${NULL+}
meson \
--prefix="$(pwd)/_build/prefix" \
-Dpython=python3.5 \
-Dsrcdir=src \
_build
ninja -C _build
meson test --verbose -C _build
ninja -C _build install
rm -fr _build/relocatable-install
_build/prefix/bin/pressure-vessel-build-relocatable-install \
--output _build/relocatable-install \
--archive "$(pwd)/_build" \
${NULL+}
prove -v ./tests/relocatable-install.py :: \
"$(pwd)/_build/relocatable-install"
# 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