From 2cc63154d934baeeff851ed21d288954f1fa0a18 Mon Sep 17 00:00:00 2001 From: Nicholas Wilson Date: Sat, 1 Mar 2025 21:23:35 +0000 Subject: [PATCH] Run build on deprecated Ubuntu 20.04 in a container --- .github/workflows/dev.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index f113750ba..1065b5258 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -91,8 +91,15 @@ jobs: greatawk: # Tests with: GCC, -O3, oldest supported Ubuntu (in non-extended support) name: GCC -O3 - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + container: ubuntu:20.04 steps: + - name: Setup + run: | + export DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC + apt-get -qq update + apt-get -qq install -y git build-essential cmake + - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: @@ -117,8 +124,15 @@ jobs: dodo: # Tests with: Autconf on oldest supported Ubuntu (in non-extended support) name: GCC -Os, old Autotools - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + container: ubuntu:20.04 steps: + - name: Setup + run: | + export DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC + apt-get -qq update + apt-get -qq install -y git build-essential autoconf automake libtool + - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: