split jobs?
Some checks failed
Rust / build-size-gnu-unstable (pull_request) Has been cancelled
Rust / build-gnu-apt (pull_request) Has been cancelled
Rust / build-musl-beta (pull_request) Failing after 48s
Rust / build-size-musl-unstable (pull_request) Failing after 48s

This commit is contained in:
Vinzenz Schroeter 2025-05-03 23:48:50 +02:00
parent a35bf98587
commit a0f59ad819

View file

@ -39,7 +39,8 @@ jobs:
- name: build example -- glibc debug
run: cd example && make clean && make TARGET=aarch64-unknown-linux-gnu PROFILE=debug
build-musl-stable:
# this _should_ have been -stable, but there is a bug when running in the container ("Invalid cross-device link")
build-musl-beta:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -49,12 +50,12 @@ jobs:
- name: Install toolchain
run: sudo apt-get install -qy liblzma-dev gcc make pkgconf musl-dev musl-tools rustup
- name: install rust target
run: rustup toolchain install stable -t aarch64-unknown-linux-musl --no-self-update
run: rustup toolchain install beta -t aarch64-unknown-linux-musl --no-self-update
- name: build example -- musl release
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=release MUSL=1 CARGO="rustup run stable cargo"
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=release MUSL=1 CARGO="rustup run beta cargo"
- name: build example -- musl debug
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=debug MUSL=1 CARGO="rustup run stable cargo"
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=debug MUSL=1 CARGO="rustup run beta cargo"
build-size-gnu-unstable:
runs-on: ubuntu-latest