From a0f59ad819ef766b4eb283227641e5505e6e281c Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Sat, 3 May 2025 23:48:50 +0200 Subject: [PATCH] split jobs? --- .github/workflows/rust.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 26a9adf..a82aa18 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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