Skip to content
Snippets Groups Projects
Commit c8a735c3 authored by David Bauer's avatar David Bauer
Browse files

ci: build Gluon in own Docker image


Build the CI integration test in our own docker container. This way, we
can make sure Gluon builds actually succeed there.

This also has the advantage of becoming independent from the host
version of GitHubs CI runners.

Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
parent 16a9aa84
No related branches found
No related tags found
No related merge requests found
...@@ -44,11 +44,11 @@ jobs: ...@@ -44,11 +44,11 @@ jobs:
- name: Show system information - name: Show system information
run: contrib/actions/show-system-info.sh run: contrib/actions/show-system-info.sh
- name: Install Dependencies - name: Build Docker container
run: sudo contrib/actions/install-dependencies.sh run: docker build -t gluon-ci-container contrib/docker
- name: Build - name: Build Gluon
run: contrib/actions/run-build.sh ${{ matrix.target }} run: docker run --rm -v $PWD:/gluon-ci -w /gluon-ci --user "$(id -u):$(id -g)" gluon-ci-container contrib/actions/run-build.sh ${{ matrix.target }}
- name: Archive build logs - name: Archive build logs
if: ${{ !cancelled() }} if: ${{ !cancelled() }}
......
#!/bin/sh
set -e
apt-get -y update
apt-get -y install git build-essential python3 gawk unzip libncurses5-dev zlib1g-dev libssl-dev libelf-dev wget rsync time qemu-utils
apt-get -y clean
rm -rf /var/lib/apt/lists/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment