Skip to content

Commit

Permalink
Add pull_request trigger in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
k-juszczyk committed Jul 13, 2023
1 parent 1f16526 commit 515114b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: build library

on: push
on: [push, pull_request]

jobs:
build-library:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
cd rust
git apply ../canonicalize.patch
./configure --target=wasm32-wasi --disable-docs --set target.wasm32-wasi.wasi-root=${WASI_SDK_PATH}/share/wasi-sysroot --enable-lld --tools=cargo
./x.py build --target wasm32-wasi --target x86_64-unknown-linux-gnu --stage 1
./x.py build --target wasm32-wasi,x86_64-unknown-linux-gnu --stage 1
source $HOME/.cargo/env
rustup toolchain link wasi_extended "$(pwd)/build/host/stage1"
cargo --version
Expand Down

0 comments on commit 515114b

Please sign in to comment.