Skip to content
Snippets Groups Projects
Commit 1d665951 authored by Simon McVittie's avatar Simon McVittie
Browse files

Improve test coverage

parent 85a2ec07
No related branches found
No related tags found
No related merge requests found
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
......@@ -7,7 +25,12 @@ variables:
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:
- |
......@@ -25,6 +48,7 @@ build:devel:
meson test --verbose -C _build
build:scout:
stage: build
image: "${SCOUT_DOCKER_REGISTRY}/${SCOUT_DOCKER_IMAGE}"
script:
- |
......
Tests: relocatable-install
Restrictions: allow-stderr, needs-root
#!/bin/sh
set -eux
dpkg --add-architecture amd64
dpkg --add-architecture i386
apt-get -y install \
libcapsule-tools-relocatable:amd64 \
libcapsule-tools-relocatable:i386 \
${NULL+}
/usr/lib/pressure-vessel/relocatable/bin/pressure-vessel-build-relocatable-install \
--output "${AUTOPKGTEST_TMP}/relocatable-install" \
--archive "${AUTOPKGTEST_TMP}"
./tests/relocatable-install.py "${AUTOPKGTEST_TMP}/relocatable-install"
for archive in "${AUTOPKGTEST_TMP}"/*.tar.*; do
echo "==== $(basename "$archive") ===="
tar -tvf "$archive"
done
# TODO: When the coordinator can accept bigger artifacts, use
# --archive=${AUTOPKGTEST_ARTIFACTS} instead
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment