split jobs?
Some checks failed
Rust / build-gnu-apt (pull_request) Successful in 4m17s
Rust / build-musl-stable (pull_request) Failing after 23s
Rust / build-size-gnu-unstable (pull_request) Successful in 1m11s
Rust / build-size-musl-unstable (pull_request) Failing after 48s

This commit is contained in:
Vinzenz Schroeter 2025-05-03 23:29:24 +02:00
parent 14eedf440b
commit a35bf98587

View file

@ -56,7 +56,23 @@ jobs:
- 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"
build-size-unstable:
build-size-gnu-unstable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update repos
run: sudo apt-get update -qq
- name: Install toolchain
run: sudo apt-get install -qy liblzma-dev gcc make pkgconf rustup
- name: install rust targets
run: rustup toolchain install nightly -t aarch64-unknown-linux-gnu -c rust-src --no-self-update
- 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"
build-size-musl-unstable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -66,9 +82,7 @@ jobs:
- name: Install toolchain
run: sudo apt-get install -qy liblzma-dev gcc make pkgconf musl-dev musl-tools rustup
- name: install rust targets
run: rustup toolchain install nightly -t aarch64-unknown-linux-musl -t aarch64-unknown-linux-gnu -c rust-src --no-self-update
run: rustup toolchain install nightly -t aarch64-unknown-linux-musl -c rust-src --no-self-update
- 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
run: cd example && make clean && make TARGET=aarch64-unknown-linux-musl PROFILE=size-optimized MUSL=1 LTO=1 CARGO="rustup run nightly cargo"