Skip to content

Commit

Permalink
Make sure add-apt-repository is available.
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGro committed Sep 7, 2024
1 parent 32aff01 commit 92ab06e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,16 @@ jobs:
run: |
if [[ "${{ matrix.os }}" =~ "Ubuntu" || "${{ matrix.os }}" =~ "Debian" ]]; then
echo "Adding Toolchain test PPA"
add-apt-repository ppa:ubuntu-toolchain-r/test
echo "Updating apt repository index"
sudo apt update || exit 1
echo "Installing apt packages"
sudo apt install -y ${{ matrix.apt-dependencies }} || exit 1
echo "Adding Toolchain test PPA"
apt install -y software-properties-common
add-apt-repository ppa:ubuntu-toolchain-r/test
echo "Installing gcc-13"
apt install -y gcc-13 g++-13 || exit 1
Expand Down

0 comments on commit 92ab06e

Please sign in to comment.