Skip to content

Commit

Permalink
Do not rely on already available package list
Browse files Browse the repository at this point in the history
apt and apk do manage their own package lists, but those can be outdated and require an update. This change makes it so that happens, which should prevent some failures.
  • Loading branch information
sharkwouter authored Mar 8, 2024
1 parent 10ef17d commit 31ebbec
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- name: Install dependencies Alpine
if: matrix.os[0] == 'alpine'
run: |
apk add build-base bash gcc git make autoconf automake python3 py3-pip cmake pkgconfig libarchive-dev openssl-dev gpgme-dev libtool \
flex bison texinfo gmp-dev mpfr-dev mpc1-dev readline-dev ncurses-dev
apk add --no-cache build-base bash gcc git make autoconf automake python3 py3-pip cmake pkgconfig libarchive-dev openssl-dev gpgme-dev \
libtool flex bison texinfo gmp-dev mpfr-dev mpc1-dev readline-dev ncurses-dev
- name: Install dependencies Fedora
if: matrix.os[0] == 'fedora'
Expand Down Expand Up @@ -64,7 +64,8 @@ jobs:
- name: Install Dependencies Ubuntu
if: matrix.os[0] == 'ubuntu-latest'
run: |
sudo apt-get -y install libarchive-dev libcurl4 libcurl4-openssl-dev libssl-dev libarchive-dev libgpgme-dev \
sudo apt-get update
sudo apt-get -y install libcurl4 libcurl4-openssl-dev libssl-dev libarchive-dev libgpgme-dev \
gettext texinfo bison flex libncurses5-dev libgmp3-dev libmpfr-dev libmpc-dev
echo "MSYSTEM=x64" >> $GITHUB_ENV
Expand Down

0 comments on commit 31ebbec

Please sign in to comment.