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

CI: dist-upgrade before trying to build a relocatable install


We need up-to-date packages for the relocatable install to be able to
get its corresponding source code; stale packages are not enough.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 917d5a8e
Branches
Tags
No related merge requests found
...@@ -110,6 +110,10 @@ build:scout: ...@@ -110,6 +110,10 @@ build:scout:
apt-get -y update apt-get -y update
fi fi
# We need up-to-date packages for the relocatable install to
# be able to get its source code
apt-get -y dist-upgrade
apt-get -y --no-install-recommends install \ apt-get -y --no-install-recommends install \
bubblewrap \ bubblewrap \
libcapsule0 \ libcapsule0 \
...@@ -169,7 +173,13 @@ build:scout: ...@@ -169,7 +173,13 @@ build:scout:
build: build:
rules: rules:
- if: '$CI_NEED_NEWER_STEAM_RUNTIME_TOOLS == ""' - if: '$CI_NEED_NEWER_STEAM_RUNTIME_TOOLS == ""'
autopkgtest: autopkgtest:
variables:
STEAM_CI_INSTALL_SCRIPT: |
# We need up-to-date packages for the relocatable install to
# be able to get its source code
apt-get -y dist-upgrade
rules: rules:
- if: '$CI_NEED_NEWER_STEAM_RUNTIME_TOOLS == ""' - if: '$CI_NEED_NEWER_STEAM_RUNTIME_TOOLS == ""'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment