Skip to content

Commit

Permalink
Move CI-related files to 'ci' directory
Browse files Browse the repository at this point in the history
  • Loading branch information
purplesyringa committed Nov 16, 2024
1 parent 03510ec commit 72c4353
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,18 @@ jobs:
- name: Install rust-src
run: rustup component add rust-src
- name: Test with panic backend (debug)
run: LITHIUM_BACKEND=panic ./cargo-wasi test --target wasm32-wasip1
run: LITHIUM_BACKEND=panic ci/cargo-wasi test --target wasm32-wasip1
- name: Test with Itanium backend (debug)
run: LITHIUM_BACKEND=itanium ./cargo-wasi test --target wasm32-wasip1
run: LITHIUM_BACKEND=itanium ci/cargo-wasi test --target wasm32-wasip1
- name: Test without std (debug)
run: ./cargo-wasi test --target wasm32-wasip1 --no-default-features
run: ci/cargo-wasi test --target wasm32-wasip1 --no-default-features
# XXX: Upstream bug at https://github.com/rust-lang/rust/issues/132416
# - name: Test with panic backend (release)
# run: LITHIUM_BACKEND=panic ./cargo-wasi test --target wasm32-wasip1 --release
# run: LITHIUM_BACKEND=panic ci/cargo-wasi test --target wasm32-wasip1 --release
# - name: Test with Itanium backend (release)
# run: LITHIUM_BACKEND=itanium ./cargo-wasi test --target wasm32-wasip1 --release
# run: LITHIUM_BACKEND=itanium ci/cargo-wasi test --target wasm32-wasip1 --release
# - name: Test without std (release)
# run: ./cargo-wasi test --target wasm32-wasip1 --release --no-default-features
# run: ci/cargo-wasi test --target wasm32-wasip1 --release --no-default-features

darwin:
runs-on: ${{ matrix.os }}
Expand Down
5 changes: 0 additions & 5 deletions cargo-wasi

This file was deleted.

5 changes: 5 additions & 0 deletions ci/cargo-wasi
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
export RUSTFLAGS="$RUSTFLAGS -C panic=unwind"
export CARGO_TARGET_WASM32_WASIP1_RUNNER="$(printf "node --no-warnings %q preview1" "$(dirname "$0")/wasi.mjs")"
export CARGO_TARGET_WASM32_WASIP2_RUNNER="$(printf "node --no-warnings %q preview2" "$(dirname "$0")/wasi.mjs")"
exec cargo -Z build-std=core,std "$@"
File renamed without changes.

0 comments on commit 72c4353

Please sign in to comment.