Skip to content

Commit

Permalink
Update examples.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
juntao committed Oct 10, 2023
1 parent bb0a427 commit 64ed9bf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,18 @@ jobs:
exit 1
fi
- name: Client HTTPS example
run: |
cd client
cargo build --target wasm32-wasi --release
wasmedge compile target/wasm32-wasi/release/wasmedge_hyper_client_https.wasm wasmedge_hyper_client_https.wasm
resp=$(wasmedge wasmedge_hyper_client_https.wasm)
echo "$resp"
if [[ $resp == *"WasmEdge"* ]]; then
echo -e "Execution Success!"
else
echo -e "Execution Fail!"
exit 1
fi

0 comments on commit 64ed9bf

Please sign in to comment.