Skip to content

Commit

Permalink
ci(build): update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <sam@secondstate.io>
  • Loading branch information
apepkuss committed Sep 11, 2024
1 parent f70664c commit 69976fc
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,13 @@ jobs:
cargo +nightly fmt --all -- --check
cargo +nightly clippy --target wasm32-wasip1 -- -D warnings
# - name: Build api-server for linux
# id: build_api_server_linux
# if: startsWith(matrix.os, 'ubuntu')
# env:
# RUSTFLAGS: "--cfg wasmedge --cfg tokio_unstable"
# run: |
# cargo build --target wasm32-wasip1 --release

- name: Build api-server for linux
id: build_api_server_linux
if: startsWith(matrix.os, 'ubuntu')
env:
RUSTFLAGS: "--cfg wasmedge --cfg tokio_unstable"
run: |
cargo build --release
cargo build --target wasm32-wasip1 --release
- name: Build api-server for macos
id: build_api_server_macos
Expand Down

0 comments on commit 69976fc

Please sign in to comment.