Skip to content

Commit 9e352a0

Browse files
committed
CI: use Wizard engine as well
1 parent 1eecde1 commit 9e352a0

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/build-wasm_of_ocaml.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,35 @@ jobs:
118118
cargo build
119119
echo `pwd`/target/debug >> "$GITHUB_PATH"
120120
121+
- name: Checkout Virgil
122+
if: matrix.wasi
123+
uses: actions/checkout@v4
124+
with:
125+
repository: titzer/virgil
126+
path: virgil
127+
128+
- name: Build Virgil
129+
if: matrix.wasi
130+
working-directory: ./virgil
131+
run: |
132+
export PATH=$PATH:`pwd`/bin
133+
echo `pwd`/bin >> "$GITHUB_PATH"
134+
make
135+
136+
- name: Checkout Wizard engine
137+
if: matrix.wasi
138+
uses: actions/checkout@v4
139+
with:
140+
repository: titzer/wizard-engine
141+
path: wizard-engine
142+
143+
- name: Build Wizard engine
144+
if: matrix.wasi
145+
working-directory: ./wizard-engine
146+
run: |
147+
make -j 4
148+
echo `pwd`/bin >> "$GITHUB_PATH"
149+
121150
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
122151
uses: ocaml/setup-ocaml@v3
123152
with:
@@ -182,6 +211,13 @@ jobs:
182211
working-directory: ./wasm_of_ocaml
183212
run: opam exec -- dune build @runtest-wasm --profile wasi
184213

214+
- name: Run tests (WASI runtime - Wizard engine)
215+
if: ${{ matrix.wasi }}
216+
working-directory: ./wasm_of_ocaml
217+
env:
218+
WASM_ENGINE: wizard-fast
219+
run: opam exec -- dune build @runtest-wasm --profile wasi
220+
185221
- name: Run tests (WASI runtime - wasmtime)
186222
if: ${{ matrix.wasi }}
187223
working-directory: ./wasm_of_ocaml

0 commit comments

Comments
 (0)