Skip to content

Commit

Permalink
Fix the CI and bump release version (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa authored Aug 21, 2024
1 parent 8e925da commit f48cd7d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
strategy:
fail-fast: false
matrix:
rust_toolchain: [nightly, stable, 1.38.0]
rust_toolchain: [nightly, stable, 1.63.0]
os: [ubuntu-latest, windows-latest, macOS-latest]
mode: ['--release', '-Zminimal-versions', '']
manifest: ['psm/Cargo.toml', 'Cargo.toml']
exclude:
- rust_toolchain: stable
mode: -Zminimal-versions
- rust_toolchain: 1.38.0
- rust_toolchain: 1.63.0
mode: -Zminimal-versions
timeout-minutes: 10
steps:
Expand Down Expand Up @@ -136,10 +136,11 @@ jobs:
- armv7-unknown-linux-gnueabihf
- i686-unknown-linux-gnu
- i686-unknown-linux-musl
- mips-unknown-linux-gnu
- mips64-unknown-linux-gnuabi64
- mips64el-unknown-linux-gnuabi64
- mipsel-unknown-linux-gnu
# No libstd available :(
# - mips-unknown-linux-gnu
# - mips64-unknown-linux-gnuabi64
# - mips64el-unknown-linux-gnuabi64
# - mipsel-unknown-linux-gnu
- powerpc-unknown-linux-gnu
# https://github.com/rust-embedded/cross/pull/440
# - powerpc64-unknown-linux-gnu
Expand Down Expand Up @@ -324,7 +325,7 @@ jobs:
default: true
target: wasm32-wasi
- run: |
curl -Lf https://github.com/bytecodealliance/wasmtime/releases/download/v0.19.0/wasmtime-v0.19.0-x86_64-linux.tar.xz | tar xJf - -C ${{ runner.tool_cache }}
echo "${{ runner.tool_cache }}/wasmtime-v0.19.0-x86_64-linux" >> $GITHUB_PATH
curl -Lf https://github.com/bytecodealliance/wasmtime/releases/download/v24.0.0/wasmtime-v24.0.0-x86_64-linux.tar.xz | tar xJf - -C ${{ runner.tool_cache }}
echo "${{ runner.tool_cache }}/wasmtime-v24.0.0-x86_64-linux" >> $GITHUB_PATH
echo "CARGO_TARGET_WASM32_WASI_RUNNER=wasmtime run --" >> $GITHUB_ENV
- run: cargo test --target wasm32-wasi --all -- --nocapture
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stacker"
version = "0.1.15"
version = "0.1.16"
authors = ["Alex Crichton <alex@alexcrichton.com>", "Simonas Kazlauskas <stacker@kazlauskas.me>"]
build = "build.rs"
license = "MIT OR Apache-2.0"
Expand Down
1 change: 1 addition & 0 deletions psm/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ fn find_assembly(
env: &str,
masm: bool,
) -> Option<(&'static str, bool)> {
println!("cargo::rustc-check-cfg=cfg(switchable_stack,asm)");
match (arch, endian, os, env) {
// The implementations for stack switching exist, but, officially, doing so without Fibers
// is not supported in Windows. For x86_64 the implementation actually works locally,
Expand Down

0 comments on commit f48cd7d

Please sign in to comment.