Skip to content

Commit e0afb90

Browse files
feat(ci): run jco extended tests in CI
1 parent 6920b07 commit e0afb90

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,3 +621,64 @@ 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+
with:
640+
persist-credentials: false
641+
642+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
643+
with:
644+
node-version: ${{ matrix.node }}
645+
646+
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
647+
with:
648+
version: 11
649+
650+
- uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7
651+
with:
652+
tool: wasm-tools
653+
- uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7
654+
with:
655+
tool: wit-bindgen-cli
656+
- uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7
657+
with:
658+
tool: wac-cli
659+
- uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7
660+
with:
661+
tool: just
662+
- uses: taiki-e/cache-cargo-install-action@417450f3c33ee20393705369577571770643d4c7 # v3.0.7
663+
with:
664+
tool: wkg
665+
666+
- uses: bytecodealliance/setup-wasi-sdk-action@b2de090b44eb70013ee96b393727d473b35e1728
667+
668+
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
669+
670+
- run: pnpm install
671+
672+
- name: Restore jco build output
673+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
674+
with:
675+
name: build
676+
path: packages/jco/obj
677+
678+
- name: Build extended component tree
679+
working-directory: test/components
680+
run: just build
681+
682+
- name: Run extended component tests
683+
run: |
684+
pnpm --filter '@bytecodealliance/jco' run test:extended

0 commit comments

Comments
 (0)