From a11839b8eebc2747b22687d42357c2144e51b9aa Mon Sep 17 00:00:00 2001 From: John Serock <1468970+serock@users.noreply.github.com> Date: Mon, 18 Dec 2023 13:09:38 -0500 Subject: [PATCH] Build appImage with GNAT 10 on Ubuntu 20.04 (#1519) --- .github/workflows/ci-appimage.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-appimage.yml b/.github/workflows/ci-appimage.yml index 8d323aed..023b05bb 100644 --- a/.github/workflows/ci-appimage.yml +++ b/.github/workflows/ci-appimage.yml @@ -18,7 +18,7 @@ jobs: # Oldest supported by Alire+GitHub to increase AppImage back-compatibility # Unfortunately we depend on the static elaboration model of recent GNATs - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 steps: - name: Check out repository @@ -27,7 +27,12 @@ jobs: submodules: true - name: Install FSF toolchain - run: sudo apt-get install -y gnat gprbuild + run: sudo apt-get install -y gnat-10 gprbuild + + - name: Set up gcc on the PATH to be gcc-10 + run: | + mkdir -p $HOME/.local/bin + ln -s /usr/bin/gcc-10 $HOME/.local/bin/gcc - name: Install Python 3.x (required for the testsuite) uses: actions/setup-python@v2 -- 2.39.5