Skip to content

Commit

Permalink
use ubuntu 22.04 for test old compilers
Browse files Browse the repository at this point in the history
The Ubuntu 20.04 Actions runner image will begin deprecation on 2025-02-01 and will be fully unsupported by 2025-04-01 actions/runner-images#11101
  • Loading branch information
ctapmex committed Feb 23, 2025
1 parent cd70be2 commit c1bc560
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ env:
jobs:
ubuntu-low-compiler:
if: ${{ !(github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository != 'elfmz/far2l') }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand All @@ -57,11 +57,6 @@ jobs:
- name: Checkout source
uses: actions/checkout@v4

- name: Install compilers
run: >
sudo apt-get update;
sudo apt-get -y install gcc-7 g++-7 clang-7
- name: Install far2l dependencies
run: >
sudo apt-get -y install
Expand All @@ -70,6 +65,12 @@ jobs:
libssl-dev libsmbclient-dev libnfs-dev libneon27-dev libssh-dev
libarchive-dev
python3-dev python3-cffi
- name: Install compilers
run: >
echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu focal main universe" | sudo tee /etc/apt/sources.list
sudo apt-get update;
sudo apt-get -y install gcc-7 g++-7 clang-7
- name: Create Build Environment
# Create a separate build directory as working directory for all subsequent commands
Expand Down

0 comments on commit c1bc560

Please sign in to comment.