We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9233c15 commit 993575dCopy full SHA for 993575d
.github/workflows/rust.yml
.github/workflows/static.yml
@@ -9,6 +9,9 @@ on:
9
# Allows you to run this workflow manually from the Actions tab
10
workflow_dispatch:
11
12
+env:
13
+ CARGO_TERM_COLOR: always
14
+
15
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
16
permissions:
17
contents: read
@@ -31,6 +34,12 @@ jobs:
31
34
steps:
32
35
- name: Checkout
33
36
uses: actions/checkout@v3
37
+ - name: Install wasm toolchain
38
+ run: rustup target add wasm32-unknown-unknown
39
+ - name: Build
40
+ run: cargo build --verbose --release --target wasm32-unknown-unknown
41
+ - name: Copy .wasm to root
42
+ run: cp target/wasm32-unknown-unknown/release/nemu.wasm nemu.wasm
43
- name: Setup Pages
44
uses: actions/configure-pages@v3
45
- name: Upload artifact
0 commit comments