Add release-debuginfo to pipeline.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@@ -45,6 +45,7 @@ jobs:
|
|||||||
sys_targets: ${{vars.sys_TARGETS}}
|
sys_targets: ${{vars.sys_TARGETS}}
|
||||||
sys_versions: ${{vars.SYS_VERSIONS}}
|
sys_versions: ${{vars.SYS_VERSIONS}}
|
||||||
machines: ${{vars.MACHINES}}
|
machines: ${{vars.MACHINES}}
|
||||||
|
excludes: '[{"cargo_profile": "release-debuginfo", "rust_toolchain": "nightly"}]'
|
||||||
|
|
||||||
test:
|
test:
|
||||||
if: ${{ !failure() && !cancelled() }}
|
if: ${{ !failure() && !cancelled() }}
|
||||||
@@ -68,7 +69,7 @@ jobs:
|
|||||||
needs: [lint]
|
needs: [lint]
|
||||||
uses: ./.github/workflows/package.yml
|
uses: ./.github/workflows/package.yml
|
||||||
with:
|
with:
|
||||||
cargo_profiles: '["release"]'
|
cargo_profiles: ${{vars.CARGO_PROFILES}}
|
||||||
feat_sets: ${{vars.FEAT_SETS}}
|
feat_sets: ${{vars.FEAT_SETS}}
|
||||||
rust_toolchains: '["stable"]'
|
rust_toolchains: '["stable"]'
|
||||||
sys_names: ${{vars.SYS_NAMES}}
|
sys_names: ${{vars.SYS_NAMES}}
|
||||||
@@ -76,6 +77,7 @@ jobs:
|
|||||||
rust_targets: ${{vars.RUST_TARGETS}}
|
rust_targets: ${{vars.RUST_TARGETS}}
|
||||||
sys_targets: ${{vars.sys_TARGETS}}
|
sys_targets: ${{vars.sys_TARGETS}}
|
||||||
machines: ${{vars.MACHINES}}
|
machines: ${{vars.MACHINES}}
|
||||||
|
excludes: '[{"cargo_profile": "test"}, {"feat_set": "none"}]'
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
if: ${{ !failure() && !cancelled() }}
|
if: ${{ !failure() && !cancelled() }}
|
||||||
@@ -83,7 +85,7 @@ jobs:
|
|||||||
needs: [test, package]
|
needs: [test, package]
|
||||||
uses: ./.github/workflows/publish.yml
|
uses: ./.github/workflows/publish.yml
|
||||||
with:
|
with:
|
||||||
cargo_profiles: '["release"]'
|
cargo_profiles: ${{vars.CARGO_PROFILES}}
|
||||||
feat_sets: ${{vars.FEAT_SETS}}
|
feat_sets: ${{vars.FEAT_SETS}}
|
||||||
rust_toolchains: '["stable"]'
|
rust_toolchains: '["stable"]'
|
||||||
sys_names: ${{vars.SYS_NAMES}}
|
sys_names: ${{vars.SYS_NAMES}}
|
||||||
@@ -91,8 +93,9 @@ jobs:
|
|||||||
rust_targets: ${{vars.RUST_TARGETS}}
|
rust_targets: ${{vars.RUST_TARGETS}}
|
||||||
sys_targets: ${{vars.sys_TARGETS}}
|
sys_targets: ${{vars.sys_TARGETS}}
|
||||||
machines: ${{vars.MACHINES}}
|
machines: ${{vars.MACHINES}}
|
||||||
excludes: '[{"feat_set": "none"}]'
|
excludes: '[{"cargo_profile": "test"}, {"feat_set": "none"}]'
|
||||||
docker_id: ${{vars.DOCKER_ID}}
|
docker_id: ${{vars.DOCKER_ID}}
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
ghcr_token: ${{ secrets.GHCR_TOKEN }}
|
ghcr_token: ${{ secrets.GHCR_TOKEN }}
|
||||||
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
|
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|||||||
8
.github/workflows/package.yml
vendored
8
.github/workflows/package.yml
vendored
@@ -39,12 +39,12 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deb:
|
deb:
|
||||||
if: ${{ !failure() && !cancelled() && contains(fromJSON(inputs.feat_sets), fromJSON('["all"]')[0]) }}
|
if: ${{ !failure() && !cancelled() && contains(fromJSON(inputs.feat_sets), fromJSON('["all"]')[0]) && contains(fromJSON(inputs.cargo_profiles), fromJSON('["release"]')[0]) }}
|
||||||
name: Deb
|
name: Deb
|
||||||
uses: ./.github/workflows/bake.yml
|
uses: ./.github/workflows/bake.yml
|
||||||
with:
|
with:
|
||||||
bake_targets: '["pkg-deb"]'
|
bake_targets: '["pkg-deb"]'
|
||||||
cargo_profiles: ${{inputs.cargo_profiles}}
|
cargo_profiles: '["release"]'
|
||||||
feat_sets: '["all"]'
|
feat_sets: '["all"]'
|
||||||
rust_toolchains: ${{inputs.rust_toolchains}}
|
rust_toolchains: ${{inputs.rust_toolchains}}
|
||||||
sys_names: ${{inputs.sys_names}}
|
sys_names: ${{inputs.sys_names}}
|
||||||
@@ -56,12 +56,12 @@ jobs:
|
|||||||
includes: ${{inputs.includes}}
|
includes: ${{inputs.includes}}
|
||||||
|
|
||||||
rpm:
|
rpm:
|
||||||
if: ${{ !failure() && !cancelled() && contains(fromJSON(inputs.feat_sets), fromJSON('["all"]')[0]) }}
|
if: ${{ !failure() && !cancelled() && contains(fromJSON(inputs.feat_sets), fromJSON('["all"]')[0]) && contains(fromJSON(inputs.cargo_profiles), fromJSON('["release"]')[0]) }}
|
||||||
name: RPM
|
name: RPM
|
||||||
uses: ./.github/workflows/bake.yml
|
uses: ./.github/workflows/bake.yml
|
||||||
with:
|
with:
|
||||||
bake_targets: '["pkg-rpm"]'
|
bake_targets: '["pkg-rpm"]'
|
||||||
cargo_profiles: ${{inputs.cargo_profiles}}
|
cargo_profiles: '["release"]'
|
||||||
feat_sets: '["all"]'
|
feat_sets: '["all"]'
|
||||||
rust_toolchains: ${{inputs.rust_toolchains}}
|
rust_toolchains: ${{inputs.rust_toolchains}}
|
||||||
sys_names: ${{inputs.sys_names}}
|
sys_names: ${{inputs.sys_names}}
|
||||||
|
|||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -70,7 +70,7 @@ jobs:
|
|||||||
rust_targets: ${{inputs.rust_targets}}
|
rust_targets: ${{inputs.rust_targets}}
|
||||||
sys_targets: ${{inputs.sys_targets}}
|
sys_targets: ${{inputs.sys_targets}}
|
||||||
machines: ${{inputs.machines}}
|
machines: ${{inputs.machines}}
|
||||||
excludes: '[{"cargo_profile": "release", "rust_toolchain": "nightly"}, {"cargo_profile": "test", "feat_set": "default"}]'
|
excludes: '[{"cargo_profile": "release", "rust_toolchain": "nightly"}, {"cargo_profile": "release-debuginfo", "rust_toolchain": "nightly"}, {"cargo_profile": "test", "feat_set": "default"}]'
|
||||||
includes: ${{inputs.includes}}
|
includes: ${{inputs.includes}}
|
||||||
|
|
||||||
complement_tester:
|
complement_tester:
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ RUN \
|
|||||||
"test") profile_dir="debug";;
|
"test") profile_dir="debug";;
|
||||||
"release") profile_dir="release";;
|
"release") profile_dir="release";;
|
||||||
"bench") profile_dir="release";;
|
"bench") profile_dir="release";;
|
||||||
*) profile_dir="$cargp_profile";;
|
*) profile_dir="$cargo_profile";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
rustup run ${rust_toolchain} \
|
rustup run ${rust_toolchain} \
|
||||||
|
|||||||
Reference in New Issue
Block a user