install pkgs before toolchain

TEST=none
This commit is contained in:
kxtzownsu 2024-12-20 01:05:57 -05:00 committed by kxtz smith
parent dd327d77ba
commit 1521bb2dc9

View File

@ -19,14 +19,14 @@ jobs:
run: rustup default stable run: rustup default stable
# step 1: install deps # step 1: install deps
- name: install packages
run: sudo apt install gcc make musl-tools musl-dev gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu
- name: install x86_64 rust toolchain - name: install x86_64 rust toolchain
run: rustup target add x86_64-unknown-linux-musl run: rustup target add x86_64-unknown-linux-musl
- name: install aarch64 rust toolchain - name: install aarch64 rust toolchain
run: rustup target add aarch64-unknown-linux-musl run: rustup target add aarch64-unknown-linux-musl
- name: install armv7 rust toolchain - name: install armv7 rust toolchain
run: rustup target add armv7-unknown-linux-musl run: rustup target add armv7-unknown-linux-musl
- name: install packages
run: sudo apt install gcc make musl-tools musl-dev gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu
# step 2: build project # step 2: build project
- name: build x86_64 bins - name: build x86_64 bins