Skip to content

Commit

Permalink
be a little more efficient about what deps we are installing
Browse files Browse the repository at this point in the history
  • Loading branch information
warmwaffles committed Sep 14, 2024
1 parent 8ce08ca commit d619d70
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/linux-precompile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,26 @@ jobs:
- name: Install system dependecies
run: |
sudo apt-get update
sudo apt-get install -y build-essential automake autoconf pkg-config bc m4 unzip zip \
gcc g++ \
gcc-i686-linux-gnu g++-i686-linux-gnu \
gcc-aarch64-linux-gnu g++-aarch64-linux-gnu \
sudo apt-get install -y \
build-essential automake autoconf pkg-config \
bc m4 unzip zip gcc g++
- name: Install ${{ matrix.arch }} specific deps
if: matrix.arch == 'x86_64'
run: |
sudo apt-get install -y gcc-i686-linux-gnu g++-i686-linux-gnu \
gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf \
gcc-riscv64-linux-gnu g++-riscv64-linux-gnu \
gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu \
gcc-s390x-linux-gnu g++-s390x-linux-gnu
- name: Install ${{ matrix.arch }} specific deps
if: matrix.arch == 'aarch64'
run: sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu

- name: Install ${{ matrix.arch }} specific deps
if: matrix.arch == 'riscv64'
run: sudo apt-get install -y gcc-riscv64-linux-gnu g++-riscv64-linux-gnu

- name: Get musl ${{ matrix.arch }} cross-compilers
run: |
wget "https://musl.cc/${{matrix.arch}}-linux-musl-cross.tgz" -O "${{matrix.arch}}-linux-musl-cross.tgz"
Expand Down

0 comments on commit d619d70

Please sign in to comment.