CI needs musl
Some checks failed
Rust / build (pull_request) Failing after 4m57s

This commit is contained in:
Vinzenz Schroeter 2025-05-03 19:59:13 +02:00
parent 826280b0df
commit bd1095a037

View file

@ -22,12 +22,8 @@ jobs:
- name: Update repos
run: sudo apt-get update -qq
- name: Install rust toolchain
run: sudo apt-get install -qy cargo rust-clippy
- name: install lzma
run: sudo apt-get install -qy liblzma-dev
- name: install gcc
run: sudo apt-get install -qy gcc make
- name: Install toolchain
run: sudo apt-get install -qy cargo rust-clippy liblzma-dev gcc make pkgconf
- name: Run Clippy
run: cargo clippy
@ -44,13 +40,18 @@ jobs:
run: cd example && make clean && make TARGET=aarch64-unknown-linux-gnu PROFILE=release
- name: build example -- glibc debug
run: cd example && make clean && make TARGET=aarch64-unknown-linux-gnu PROFILE=debug
- name: install musl dependencies
run: sudo apt-get install -y musl-dev musl-tools rustup
- name: install musl rust target
run: rustup toolchain install stable-aarch64-unknown-linux-musl
- name: build example -- musl release
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=release MUSL=1
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=release MUSL=1 CARGO="rustup run stable cargo"
- name: build example -- musl debug
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=debug MUSL=1
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=debug MUSL=1 CARGO="rustup run stable cargo"
- name: install unstable rust
run: sudo apt install rustup && rustup toolchain install aarch64-unknown-linux-gnu && rustup toolchain install aarch64-unknown-linux-musl
run: rustup toolchain install nightly-aarch64-unknown-linux-gnu && rustup toolchain install nightly-aarch64-unknown-linux-musl
- name: build example -- glibc size-optimized
run: cd example && make clean && make TARGET=aarch64-unknown-linux-gnu PROFILE=size-optimized CARGO="rustup run nightly cargo"
- name: build example -- musl size-optimized