Skip to content

Commit 6c7a40f

Browse files
committed
Fix building FNA on Linux
CI was broken due to debian buster being EOL'd, resulting in the package repositories apt relies on to 404. We fix this by replacing deb.debian.org with archive.debian.org in the apt sources.list.
1 parent 9136b4e commit 6c7a40f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build-libs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ jobs:
6464
- name: Install Git and cURL (Linux)
6565
if: ${{ matrix.platform == 'linux' }}
6666
run: |
67+
# Debian buster is now EOL, need to set APT to use the package archive.
68+
sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list
6769
apt-get update
6870
apt-get install -y git curl ca-certificates
6971
@@ -142,7 +144,7 @@ jobs:
142144
# Setup Debian Bullseye PPA for newer CMake and Wayland version
143145
echo "deb http://deb.debian.org/debian bullseye main" >> /etc/apt/sources.list
144146
echo "deb http://security.debian.org/debian-security bullseye-security main" >> /etc/apt/sources.list
145-
echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list
147+
echo "deb http://archive.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list
146148
cat <<EOF > /etc/apt/preferences.d/bullseye
147149
Package: *
148150
Pin: release n=bullseye

0 commit comments

Comments
 (0)