[wasm] Upload install directory as artifact to GitHub Actions
This commit is contained in:
parent
7e9f00f34f
commit
3720d4c39a
9
.github/workflows/wasm.yml
vendored
9
.github/workflows/wasm.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user