Skip to content

Commit beaa211

Browse files
committed
split other engines
1 parent ef2e622 commit beaa211

1 file changed

Lines changed: 110 additions & 2 deletions

File tree

.github/workflows/build-and-test-linux.yml

Lines changed: 110 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ jobs:
388388
run: ./test/runner wasm2js1
389389
shell: bash
390390

391-
test-other-engines:
391+
test-bun:
392392
runs-on: ubuntu-latest
393393
steps:
394394
- name: Checkout repo
@@ -428,6 +428,32 @@ jobs:
428428
env:
429429
EMTEST_SKIP_NEW_CMAKE: "1"
430430

431+
test-deno:
432+
runs-on: ubuntu-latest
433+
steps:
434+
- name: Checkout repo
435+
uses: actions/checkout@v6.0.2
436+
437+
- name: Install Basic Packages
438+
uses: ./.github/actions/install-basic-packages
439+
440+
- name: Install Emsdk
441+
uses: emscripten-core/setup-emsdk@v16
442+
with:
443+
version: tot
444+
445+
- name: Set EM_CONFIG
446+
run: echo "EM_CONFIG=$EMSDK/.emscripten" >> $GITHUB_ENV
447+
shell: bash
448+
449+
- name: Pip install
450+
run: python -m pip install -r requirements-dev.txt
451+
shell: bash
452+
453+
- name: Bootstrap
454+
run: ./bootstrap
455+
shell: bash
456+
431457
- name: Install Deno
432458
run: |
433459
curl -fsSL https://deno.land/install.sh | sh
@@ -442,6 +468,32 @@ jobs:
442468
env:
443469
EMTEST_SKIP_NEW_CMAKE: "1"
444470

471+
test-jsc:
472+
runs-on: ubuntu-latest
473+
steps:
474+
- name: Checkout repo
475+
uses: actions/checkout@v6.0.2
476+
477+
- name: Install Basic Packages
478+
uses: ./.github/actions/install-basic-packages
479+
480+
- name: Install Emsdk
481+
uses: emscripten-core/setup-emsdk@v16
482+
with:
483+
version: tot
484+
485+
- name: Set EM_CONFIG
486+
run: echo "EM_CONFIG=$EMSDK/.emscripten" >> $GITHUB_ENV
487+
shell: bash
488+
489+
- name: Pip install
490+
run: python -m pip install -r requirements-dev.txt
491+
shell: bash
492+
493+
- name: Bootstrap
494+
run: ./bootstrap
495+
shell: bash
496+
445497
- name: Install jsvu
446498
run: npm install jsvu -g
447499
shell: bash
@@ -458,6 +510,36 @@ jobs:
458510
./test/runner core0.test_hello_argc other.test_modularize_incoming other.test_modularize_incoming_export_name
459511
shell: bash
460512

513+
test-spidermonkey:
514+
runs-on: ubuntu-latest
515+
steps:
516+
- name: Checkout repo
517+
uses: actions/checkout@v6.0.2
518+
519+
- name: Install Basic Packages
520+
uses: ./.github/actions/install-basic-packages
521+
522+
- name: Install Emsdk
523+
uses: emscripten-core/setup-emsdk@v16
524+
with:
525+
version: tot
526+
527+
- name: Set EM_CONFIG
528+
run: echo "EM_CONFIG=$EMSDK/.emscripten" >> $GITHUB_ENV
529+
shell: bash
530+
531+
- name: Pip install
532+
run: python -m pip install -r requirements-dev.txt
533+
shell: bash
534+
535+
- name: Bootstrap
536+
run: ./bootstrap
537+
shell: bash
538+
539+
- name: Install jsvu
540+
run: npm install jsvu -g
541+
shell: bash
542+
461543
- name: Install SpiderMonkey
462544
run: |
463545
jsvu --os=default --engines=spidermonkey
@@ -470,7 +552,32 @@ jobs:
470552
./test/runner other.test_prepost_jspi other.test_stdint_limits_wasm64 core0.test_hello_argc core2.test_demangle_stacks_symbol_map
471553
shell: bash
472554

473-
# Node compat tests
555+
test-node-compat:
556+
runs-on: ubuntu-latest
557+
steps:
558+
- name: Checkout repo
559+
uses: actions/checkout@v6.0.2
560+
561+
- name: Install Basic Packages
562+
uses: ./.github/actions/install-basic-packages
563+
564+
- name: Install Emsdk
565+
uses: emscripten-core/setup-emsdk@v16
566+
with:
567+
version: tot
568+
569+
- name: Set EM_CONFIG
570+
run: echo "EM_CONFIG=$EMSDK/.emscripten" >> $GITHUB_ENV
571+
shell: bash
572+
573+
- name: Pip install
574+
run: python -m pip install -r requirements-dev.txt
575+
shell: bash
576+
577+
- name: Bootstrap
578+
run: ./bootstrap
579+
shell: bash
580+
474581
- name: Test Node Oldest (18.3.0)
475582
uses: actions/setup-node@v6.3.0
476583
with:
@@ -514,6 +621,7 @@ jobs:
514621
EMTEST_SKIP_V8: "1"
515622

516623

624+
517625
test-browser-chrome:
518626
needs: build-linux
519627
runs-on: emscripten-premerge-linux-runners

0 commit comments

Comments
 (0)