diff --git a/.github/workflows/check-developer-experience.yml b/.github/workflows/check-developer-experience.yml index d0141219..3b7b214c 100644 --- a/.github/workflows/check-developer-experience.yml +++ b/.github/workflows/check-developer-experience.yml @@ -7,11 +7,11 @@ permissions: jobs: build: strategy: + fail-fast: false matrix: - profile: [ debug, release ] - target: [ x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl ] + profile: [ "debug", "release" ] just_version: [ "1.36.0" ] - rust_toolchain: [ "stable", "nightly-2024-10-22" ] + rust_toolchain: [ "stable", "1.82.0", "nightly-2024-10-22" ] runs-on: - lab timeout-minutes: 180 @@ -30,13 +30,17 @@ jobs: uses: dtolnay/rust-toolchain@stable with: toolchain: ${{matrix.rust_toolchain}} - targets: ${{matrix.target}} + targets: "x86_64-unknown-linux-gnu,x86_64-unknown-linux-musl" - name: Checkout uses: actions/checkout@v4 - name: refresh-compile-env run: just --yes refresh-compile-env - run: just --yes fake-nix + - name: just build (glibc) + run: just cargo +${{matrix.rust_toolchain}} build --profile=${{matrix.profile}} --target=x86_64-unknown-linux-gnu + - name: just test (glibc) + run: just cargo +${{matrix.rust_toolchain}} test --profile=${{matrix.profile}} --target=x86_64-unknown-linux-gnu - name: just build - run: just cargo +${{matrix.rust_toolchain}} build --profile=${{matrix.profile}} --target=${{matrix.target}} + run: just cargo +${{matrix.rust_toolchain}} build --profile=${{matrix.profile}} --target=x86_64-unknown-linux-musl - name: just test - run: just cargo +${{matrix.rust_toolchain}} test --profile=${{matrix.profile}} --target=${{matrix.target}} + run: just cargo +${{matrix.rust_toolchain}} test --profile=${{matrix.profile}} --target=x86_64-unknown-linux-musl