From 21c51eaf033a2747e610067891c9f5498eab6dce Mon Sep 17 00:00:00 2001 From: John Serock <1468970+serock@users.noreply.github.com> Date: Sun, 17 Dec 2023 18:51:24 -0500 Subject: [PATCH] Use GNAT 10 and GCC 10 on Ubuntu 20.04 --- .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 8d323aed1..023b05bbb 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