Skip to content

Commit 229b2e3

Browse files
committed
CI: use Wizard engine as well
1 parent 24e4c6c commit 229b2e3

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
@@ -125,6 +125,35 @@ jobs:
125125
cargo build
126126
echo `pwd`/target/debug >> "$GITHUB_PATH"
127127
128+
- name: Checkout Virgil
129+
if: matrix.wasi
130+
uses: actions/checkout@v4
131+
with:
132+
repository: titzer/virgil
133+
path: virgil
134+
135+
- name: Build Virgil
136+
if: matrix.wasi
137+
working-directory: ./virgil
138+
run: |
139+
export PATH=$PATH:`pwd`/bin
140+
echo `pwd`/bin >> "$GITHUB_PATH"
141+
make
142+
143+
- name: Checkout Wizard engine
144+
if: matrix.wasi
145+
uses: actions/checkout@v4
146+
with:
147+
repository: titzer/wizard-engine
148+
path: wizard-engine
149+
150+
- name: Build Wizard engine
151+
if: matrix.wasi
152+
working-directory: ./wizard-engine
153+
run: |
154+
make -j 4
155+
echo `pwd`/bin >> "$GITHUB_PATH"
156+
128157
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
129158
uses: ocaml/setup-ocaml@v3
130159
with:
@@ -190,6 +219,13 @@ jobs:
190219
working-directory: ./wasm_of_ocaml
191220
run: opam exec -- dune build @runtest-wasm --profile wasi
192221

222+
- name: Run tests (WASI runtime - Wizard engine)
223+
if: ${{ matrix.wasi }}
224+
working-directory: ./wasm_of_ocaml
225+
env:
226+
WASM_ENGINE: wizard-fast
227+
run: opam exec -- dune build @runtest-wasm --profile wasi
228+
193229
- name: Run tests (WASI runtime - wasmtime)
194230
if: ${{ matrix.wasi }}
195231
working-directory: ./wasm_of_ocaml

0 commit comments

Comments
 (0)