diff options
author | Oneric <oneric@oneric.stub> | 2021-12-15 23:37:17 +0100 |
---|---|---|
committer | Oneric <oneric@oneric.stub> | 2021-12-18 21:47:27 +0100 |
commit | 5a528172d92b6ee380ba48d8688fb04f0698e5e3 (patch) | |
tree | e316eaf1f134f88b0687e5d3ece251af2de7449d /.github | |
parent | e3a9d20a2651f0e3286e2872dfb8bb2fde72d617 (diff) | |
download | libass-5a528172d92b6ee380ba48d8688fb04f0698e5e3.tar.bz2 libass-5a528172d92b6ee380ba48d8688fb04f0698e5e3.tar.xz |
ci/gha: add build with minimum dependency versions
The container is purpose built to have the minimum version of all direct
dependencies as well as an old'ish compiler and autotools toolchain.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ghci.yml | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/.github/workflows/ghci.yml b/.github/workflows/ghci.yml index 0f08747a..36cafe6d 100644 --- a/.github/workflows/ghci.yml +++ b/.github/workflows/ghci.yml @@ -36,6 +36,12 @@ jobs: cc: gcc docker_image: alpine:latest shell: '/usr/bin/docker exec dockerciimage sh -e {0}' + # Add docker-build with minimum version of dependencies + - os: ubuntu-latest + cc: gcc + docker_image: oldlibs + docker_pullprefix: 'ghcr.io/theoneric/libass-containers/' + shell: '/usr/bin/docker exec dockerciimage sh -e {0}' # Add a Windows build (MinGW-gcc via MSYS2) with no extras - os: windows-2019 msystem: MINGW32 @@ -64,11 +70,13 @@ jobs: if: matrix.docker_image shell: bash run: | - # Note: With this setup everything inside the container will be run as root - docker pull "${{ matrix.docker_image }}" + # Note: Many containers default to the root user + docker pull "${{ matrix.docker_pullprefix }}${{ matrix.docker_image }}" docker create --name dockerciimage \ -v "/home/runner/work:/home/runner/work" --workdir "$PWD" \ - --entrypoint "tail" "${{ matrix.docker_image }}" "-f" "/dev/null" + --entrypoint "tail" \ + "${{ matrix.docker_pullprefix }}${{ matrix.docker_image }}" \ + "-f" "/dev/null" docker start dockerciimage - name: Setup MSys2 @@ -100,6 +108,9 @@ jobs: make automake autoconf libtool pkgconf \ fontconfig-dev freetype-dev fribidi-dev harfbuzz-dev ;; + oldlibs) + : # Everything is preinstalled + ;; *) sudo apt-get update #&& sudo apt-get upgrade sudo apt-get install -y --no-install-recommends \ |