From 7af4fd3e03e386d260751fb79253e4da0bac3133 Mon Sep 17 00:00:00 2001 From: "Masih H. Derkani" Date: Wed, 21 Jan 2026 14:10:39 +0000 Subject: [PATCH 1/3] Add CI workflow to build libwasmvm dynamic libraries Add a manually trigerrable CI workflow to build and archive libwasmvm dynamic libraries. This is to remove error-prone local setup that could result in runtime breaking changes. --- .github/workflows/libwasmvm.yml | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/workflows/libwasmvm.yml diff --git a/.github/workflows/libwasmvm.yml b/.github/workflows/libwasmvm.yml new file mode 100644 index 0000000000..59e4ec1c6c --- /dev/null +++ b/.github/workflows/libwasmvm.yml @@ -0,0 +1,52 @@ +name: libwasmvm +on: + workflow_call: + inputs: + ref: + description: 'Git ref to checkout (branch, tag, or SHA)' + required: false + type: string + default: '' + pull_request: + push: + branches: + - main + - release/** + +concurrency: + cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }} + +defaults: + run: + working-directory: sei-wasmvm + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + target: + - release-build-alpine + - release-build-linux + - release-build-macos + steps: + - uses: actions/checkout@v6 + with: + ref: ${{ inputs.ref || github.sha }} + - name: Build + run: | + mkdir -p libwasmvm/artifacts + make ${{ matrix.target }} + ls -alh internal/api + - name: Upload libraries + uses: actions/upload-artifact@v5 + with: + name: libwasmvm-${{ matrix.target }}-${{ inputs.ref || github.sha }} + path: | + sei-wasmvm/internal/api/*.h + sei-wasmvm/internal/api/*.so + sei-wasmvm/internal/api/*.a + sei-wasmvm/internal/api/*.dylib + if-no-files-found: warn \ No newline at end of file From 805debb12677ae98b995147f6f7859a8b12a9b84 Mon Sep 17 00:00:00 2001 From: "Masih H. Derkani" Date: Wed, 21 Jan 2026 14:22:29 +0000 Subject: [PATCH 2/3] Temporarily trigger the build for `masih/v6-3-reftype-wasmparser-fork` --- .github/workflows/libwasmvm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/libwasmvm.yml b/.github/workflows/libwasmvm.yml index 59e4ec1c6c..f5083a9a19 100644 --- a/.github/workflows/libwasmvm.yml +++ b/.github/workflows/libwasmvm.yml @@ -34,7 +34,8 @@ jobs: steps: - uses: actions/checkout@v6 with: - ref: ${{ inputs.ref || github.sha }} + # ref: ${{ inputs.ref || github.sha }} + ref: 'masih/v6-3-reftype-wasmparser-fork' - name: Build run: | mkdir -p libwasmvm/artifacts From 85a7f3b3a558f251a0622a8c50d8629e3ac9190f Mon Sep 17 00:00:00 2001 From: "Masih H. Derkani" Date: Wed, 21 Jan 2026 16:11:59 +0000 Subject: [PATCH 3/3] Remove experimental build and PR trigger --- .github/workflows/libwasmvm.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/libwasmvm.yml b/.github/workflows/libwasmvm.yml index f5083a9a19..2735c098e3 100644 --- a/.github/workflows/libwasmvm.yml +++ b/.github/workflows/libwasmvm.yml @@ -7,7 +7,6 @@ on: required: false type: string default: '' - pull_request: push: branches: - main @@ -34,8 +33,7 @@ jobs: steps: - uses: actions/checkout@v6 with: - # ref: ${{ inputs.ref || github.sha }} - ref: 'masih/v6-3-reftype-wasmparser-fork' + ref: ${{ inputs.ref || github.sha }} - name: Build run: | mkdir -p libwasmvm/artifacts