-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3759 from wasmerio/wasmer-sh
Added the wasmer.sh website to the main repo and a CI/CD build test
- Loading branch information
Showing
33 changed files
with
30,436 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Separate workflow for the wasmer-web crate. | ||
# | ||
|
||
# Automatically cancel previous workflow runs when a new commit is pushed. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
name: Wasmer Web | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
jobs: | ||
web: | ||
name: Build and Test (wasmer-web) | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
rust: [nightly] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Rust | ||
uses: actions/checkout@v3 | ||
with: | ||
toolchain: ${{ matrix.rust }} | ||
|
||
- name: Show Rust version | ||
run: | | ||
rustc --version | ||
- name: Check formatting | ||
shell: bash | ||
run: | | ||
cd lib/wasi-web | ||
cargo fmt --check | ||
- name: Check | ||
continue-on-error: true | ||
env: | ||
CARGO_NET_GIT_FETCH_WITH_CLI: "true" | ||
run: | | ||
cd lib/wasi-web | ||
cargo check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[unstable] | ||
build-std = ['std', 'panic_abort'] | ||
|
||
[build] | ||
target = "wasm32-unknown-unknown" | ||
# This is needed so the module is compiled with atomics support (shared memory) | ||
# We add the `-no-check-features` linker args because otherwise one of the modules fails to link | ||
rustflags = '-Ctarget-feature=+atomics,+bulk-memory -Clink-args=--no-check-features' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
node_modules | ||
dist | ||
.parcel-cache | ||
.cache | ||
target | ||
pkg | ||
wapm/*.wasm |
Oops, something went wrong.