From 3720d4c39af7e88f4be98f5d8e1d8a3d47db5208 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Sun, 19 Nov 2023 01:06:04 +0000 Subject: [PATCH] [wasm] Upload install directory as artifact to GitHub Actions --- .github/workflows/wasm.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index ed9902f966..a47a30ca65 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -129,6 +129,15 @@ jobs: # miniruby may not be built when cross-compling - run: make mini ruby + - run: make install DESTDIR=$PWD/../install + - run: tar cfz ../install.tar.gz -C ../install . + + - name: Upload artifacts + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + with: + name: ruby-wasm-install + path: ${{ github.workspace }}/install.tar.gz + - name: Run basictest run: wasmtime run ./../build/miniruby --mapdir /::./ -- basictest/test.rb working-directory: src