Skip to content

Commit c043e27

Browse files
committed
Add check for no_std compatibility
1 parent 2b686f8 commit c043e27

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,20 @@ jobs:
4949
channel: ${{ matrix.toolchain }}
5050
components: |
5151
clippy
52+
targets: |
53+
wasm32v1-none
5254
cache-key-job: true
5355

5456
- name: Check
5557
run: |
5658
cargo check -p kitoken
5759
cargo clippy -p kitoken
5860
61+
- name: Check (no_std)
62+
continue-on-error: true
63+
run: |
64+
cargo check -p kitoken --target wasm32v1-none --no-default-features
65+
5966
- name: Test
6067
continue-on-error: true
6168
id: test

0 commit comments

Comments
 (0)