Skip to content

Commit

Permalink
Enable JIT in most workflows.
Browse files Browse the repository at this point in the history
Windows x64 JIT is disabled for now.
Also reports if JIT is enabled when running tests.
  • Loading branch information
Peter Pronai authored and ksh8281 committed Nov 22, 2023
1 parent 5430ed7 commit a99792c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
rm $GITHUB_WORKSPACE/test/wasm-spec/core/call.wast
rm $GITHUB_WORKSPACE/test/wasm-spec/core/call_indirect.wast
$RUNNER --engine="$GITHUB_WORKSPACE/out/clang/x64/walrus"
$RUNNER --jit --engine="$GITHUB_WORKSPACE/out/clang/x64/walrus"
build-test-on-x86:
runs-on: ubuntu-latest
Expand All @@ -94,7 +95,9 @@ jobs:
cmake -H. -Bout/linux/x86 $BUILD_OPTIONS
ninja -Cout/linux/x86
- name: Run Tests
run: $RUNNER --engine="$GITHUB_WORKSPACE/out/linux/x86/walrus"
run: |
$RUNNER --engine="$GITHUB_WORKSPACE/out/linux/x86/walrus"
$RUNNER --jit --engine="$GITHUB_WORKSPACE/out/linux/x86/walrus"
build-test-on-x64:
runs-on: ubuntu-latest
Expand All @@ -113,7 +116,9 @@ jobs:
cmake -H. -Bout/linux/x64 $BUILD_OPTIONS
ninja -Cout/linux/x64
- name: Run Tests
run: $RUNNER --engine="$GITHUB_WORKSPACE/out/linux/x64/walrus"
run: |
$RUNNER --engine="$GITHUB_WORKSPACE/out/linux/x64/walrus"
$RUNNER --jit --engine="$GITHUB_WORKSPACE/out/linux/x64/walrus"
build-test-on-armv7:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion tools/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def main():
success, fail = [], []

for suite in args.suite:
print(COLOR_PURPLE + 'running test suite: ' + suite + COLOR_RESET)
print(COLOR_PURPLE + f'running test suite{ " with jit" if jit else ""}: ' + suite + COLOR_RESET)
try:
RUNNERS[suite](args.engine)
success += [suite]
Expand Down

0 comments on commit a99792c

Please sign in to comment.