Skip to content

Commit c343fa7

Browse files
feat(ci): run jco extended tests in CI
1 parent d53f739 commit c343fa7

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,3 +621,59 @@ jobs:
621621
- name: Run all script for (${{ matrix.project.name }})
622622
run: |
623623
pnpm --filter '${{ matrix.project.workspace }}' run all
624+
625+
test-extended:
626+
runs-on: ${{ matrix.os }}
627+
needs:
628+
- build
629+
permissions:
630+
contents: read
631+
strategy:
632+
matrix:
633+
os:
634+
- ubuntu-latest
635+
node:
636+
- latest
637+
steps:
638+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
639+
640+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
641+
with:
642+
node-version: ${{ matrix.node }}
643+
644+
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
645+
with:
646+
version: 11
647+
648+
- uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7
649+
with:
650+
tool: wasm-tools
651+
- uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7
652+
with:
653+
tool: wit-bindgen-cli
654+
- uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7
655+
with:
656+
tool: wac-cli
657+
- uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7
658+
with:
659+
tool: just
660+
661+
- uses: bytecodealliance/setup-wasi-sdk-action@b2de090b44eb70013ee96b393727d473b35e1728
662+
663+
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
664+
665+
- run: pnpm install
666+
667+
- name: Restore jco build output
668+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
669+
with:
670+
name: build
671+
path: packages/jco/obj
672+
673+
- name: Build extended component tree
674+
working-directory: test/components
675+
run: just build
676+
677+
- name: Run extended component tests
678+
run: |
679+
pnpm --filter '@bytecodealliance/jco' run test:extended

0 commit comments

Comments
 (0)