Add non-standard builds of Cranelift in automation;
This adds the following build setups in CI: - only x86, - only arm64, - disable debug assertions.
This commit is contained in:
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
@@ -234,6 +234,17 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
|
|
||||||
|
# Perform various builds of Cranelift under different configurations:
|
||||||
|
# - only x86 backend support,
|
||||||
|
# - only arm64 backend support,
|
||||||
|
# - no debug_assertions.
|
||||||
|
- run: cargo build --manifest-path=./cranelift/Cargo.toml --bin clif-util --no-default-features --features=cranelift-codegen/arm64
|
||||||
|
shell: bash
|
||||||
|
- run: cargo build --manifest-path=./cranelift/Cargo.toml --bin clif-util --no-default-features --features=cranelift-codegen/x86
|
||||||
|
shell: bash
|
||||||
|
- run: cargo rustc --manifest-path=./cranelift/Cargo.toml --bin clif-util -- -C debug_assertions=off
|
||||||
|
shell: bash
|
||||||
|
|
||||||
# Verify that cranelift's code generation is deterministic
|
# Verify that cranelift's code generation is deterministic
|
||||||
meta_determinist_check:
|
meta_determinist_check:
|
||||||
name: Meta deterministic check
|
name: Meta deterministic check
|
||||||
|
|||||||
Reference in New Issue
Block a user