Skip to content

Commit 1314454

Browse files
committed
CI: use Wizard engine as well
1 parent 312732f commit 1314454

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/wasm_of_ocaml.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,35 @@ jobs:
122122
cargo build
123123
echo `pwd`/target/debug >> "$GITHUB_PATH"
124124
125+
- name: Checkout Virgil
126+
if: matrix.wasi
127+
uses: actions/checkout@v4
128+
with:
129+
repository: titzer/virgil
130+
path: virgil
131+
132+
- name: Build Virgil
133+
if: matrix.wasi
134+
working-directory: ./virgil
135+
run: |
136+
export PATH=$PATH:`pwd`/bin
137+
echo `pwd`/bin >> "$GITHUB_PATH"
138+
make
139+
140+
- name: Checkout Wizard engine
141+
if: matrix.wasi
142+
uses: actions/checkout@v4
143+
with:
144+
repository: titzer/wizard-engine
145+
path: wizard-engine
146+
147+
- name: Build Wizard engine
148+
if: matrix.wasi
149+
working-directory: ./wizard-engine
150+
run: |
151+
make -j 4
152+
echo `pwd`/bin >> "$GITHUB_PATH"
153+
125154
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
126155
uses: ocaml/setup-ocaml@v3
127156
with:
@@ -187,6 +216,13 @@ jobs:
187216
working-directory: ./wasm_of_ocaml
188217
run: opam exec -- dune build @runtest-wasm --profile wasi
189218

219+
- name: Run tests (WASI runtime - Wizard engine)
220+
if: ${{ matrix.wasi }}
221+
working-directory: ./wasm_of_ocaml
222+
env:
223+
WASM_ENGINE: wizard-fast
224+
run: opam exec -- dune build @runtest-wasm --profile wasi
225+
190226
- name: Run tests (WASI runtime - wasmtime)
191227
if: ${{ matrix.wasi }}
192228
working-directory: ./wasm_of_ocaml

0 commit comments

Comments
 (0)