Remove Test nightly Cranelift workflow
Cranelift makes api breaking changes often enough that this workflow fails half of the time. As such in practice I completely ignore it's result and push an update to a branch after Cranelift branches to test everything on CI. In this update I immediately fix the fallout of api breaking changes.
This commit is contained in:
parent
8af4eacc8c
commit
395eaa1538
48
.github/workflows/nightly-cranelift.yml
vendored
48
.github/workflows/nightly-cranelift.yml
vendored
@ -1,48 +0,0 @@
|
|||||||
name: Test nightly Cranelift
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
schedule:
|
|
||||||
- cron: '17 1 * * *' # At 01:17 UTC every day.
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 60
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Use sparse cargo registry
|
|
||||||
run: |
|
|
||||||
cat >> ~/.cargo/config.toml <<EOF
|
|
||||||
[unstable]
|
|
||||||
sparse-registry = true
|
|
||||||
EOF
|
|
||||||
|
|
||||||
- name: Prepare dependencies
|
|
||||||
run: ./y.rs prepare
|
|
||||||
|
|
||||||
- name: Patch Cranelift
|
|
||||||
run: |
|
|
||||||
sed -i 's/cranelift-codegen = { version = "\w*.\w*.\w*", features = \["unwind", "all-arch"\] }/cranelift-codegen = { git = "https:\/\/github.com\/bytecodealliance\/wasmtime.git", features = ["unwind", "all-arch"] }/' Cargo.toml
|
|
||||||
sed -i 's/cranelift-frontend = "\w*.\w*.\w*"/cranelift-frontend = { git = "https:\/\/github.com\/bytecodealliance\/wasmtime.git" }/' Cargo.toml
|
|
||||||
sed -i 's/cranelift-module = "\w*.\w*.\w*"/cranelift-module = { git = "https:\/\/github.com\/bytecodealliance\/wasmtime.git" }/' Cargo.toml
|
|
||||||
sed -i 's/cranelift-native = "\w*.\w*.\w*"/cranelift-native = { git = "https:\/\/github.com\/bytecodealliance\/wasmtime.git" }/' Cargo.toml
|
|
||||||
sed -i 's/cranelift-jit = { version = "\w*.\w*.\w*", optional = true }/cranelift-jit = { git = "https:\/\/github.com\/bytecodealliance\/wasmtime.git", optional = true }/' Cargo.toml
|
|
||||||
sed -i 's/cranelift-object = "\w*.\w*.\w*"/cranelift-object = { git = "https:\/\/github.com\/bytecodealliance\/wasmtime.git" }/' Cargo.toml
|
|
||||||
|
|
||||||
sed -i 's/object = { version = "0.27.0"/object = { version = "0.28.0"/' Cargo.toml
|
|
||||||
|
|
||||||
cat Cargo.toml
|
|
||||||
|
|
||||||
cargo fetch
|
|
||||||
|
|
||||||
- name: Build without unstable features
|
|
||||||
# This is the config rust-lang/rust uses for builds
|
|
||||||
run: ./y.rs build --no-unstable-features
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: ./y.rs build --sysroot none
|
|
||||||
- name: Test
|
|
||||||
run: ./test.sh
|
|
Loading…
Reference in New Issue
Block a user