From 112e43d753d79ce4c2e89e2c1a5a74d185e0b08b Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 31 May 2025 02:17:51 +0000 Subject: [PATCH] ci: build standalone for all feature-sets. Signed-off-by: Jason Volk --- .github/workflows/bake.yml | 2 +- .github/workflows/main.yml | 2 +- .github/workflows/package.yml | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bake.yml b/.github/workflows/bake.yml index 663661ff..9dcd58d7 100644 --- a/.github/workflows/bake.yml +++ b/.github/workflows/bake.yml @@ -131,5 +131,5 @@ jobs: name: Upload Artifact uses: actions/upload-artifact@v4 with: - name: ${{matrix.cargo_profile}}-${{fromJSON(inputs.artifact)[matrix.bake_target].dst}} + name: ${{matrix.cargo_profile}}-${{matrix.feat_set}}-${{fromJSON(inputs.artifact)[matrix.bake_target].dst}} path: _artifact/${{fromJSON(inputs.artifact)[matrix.bake_target].dst}} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9a4c1d9e..82a5e559 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -164,8 +164,8 @@ jobs: machines: ${{needs.init.outputs.machines}} excludes: > [ - {"cargo_profile": "test"}, {"feat_set": "none"}, + {"cargo_profile": "test"}, {"rust_toolchain": "nightly", "cargo_profile": "release"}, {"cargo_profile": "release-max-perf"} ] diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 7717ab0d..28a68084 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -41,14 +41,13 @@ jobs: if: > ${{ !failure() && !cancelled() - && contains(fromJSON(inputs.feat_sets), fromJSON('["all"]')[0]) }} name: Standalone uses: ./.github/workflows/bake.yml with: bake_targets: '["standalone"]' cargo_profiles: ${{inputs.cargo_profiles}} - feat_sets: '["all"]' + feat_sets: ${{inputs.feat_sets}} rust_toolchains: ${{inputs.rust_toolchains}} sys_names: ${{inputs.sys_names}} sys_versions: ${{inputs.sys_versions}}