Skip to content

V86 WASM Release

V86 WASM Release #8

Workflow file for this run

on:
release:
types: [created]
workflow_dispatch:
name: V86 WASM Release
jobs:
v86-wasi:
strategy:
matrix:
include:
- build: ubuntu-20.04
os: ubuntu-20.04
rust: stable
runson: ubuntu-20.04
target: wasm32-unknown-unknown
arch: x86_64
cross: true
runs-on: ${{ matrix.runson }}
steps:
- uses: actions/checkout@v2
# - name: Get release
# id: get_release
# uses: bruceadams/[email protected]
# env:
# GITHUB_TOKEN: ${{ github.token }}
- name: create Cross.toml
run: |
echo [target.wasm32-unknown-unknown] > Cross.toml
echo "dockerfile = \"./Dockerfile\"" >> Cross.toml
- name: create Dockerfile
run: |
echo "apt-get update && \\" >> Dockerfile
echo "apt-get install --assume-yes build-essential" >> Dockerfile
echo "apt-get install --assume-yes makefile" >> Dockerfile
echo "apt-get install --assume-yes clang" >> Dockerfile
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
- name: Build v86
run: |
make release
- name: Remove File
uses: JesseTG/[email protected]
with:
path: target/${{ matrix.target }}
- name: Remove File
uses: JesseTG/[email protected]
with:
path: target/softfloat.o
- name: Remove File
uses: JesseTG/[email protected]
with:
path: target/zstddeclib.o
- name: Remove File
uses: JesseTG/[email protected]
with:
path: target/CACHEDIR.TAG
- name: Remove File
uses: JesseTG/[email protected]
with:
path: release
- name: Archive Release
uses: thedoctor0/zip-release@main
with:
type: "tar"
filename: ../../../v86.tar.gz
directory: target
path: .
- uses: actions/upload-artifact@v4
with:
name: v86.tar.gz
path: |
target/release
!target/release/build
!target/release/deps
!target/release/examples
!target/release/incremental
# - name: upload artifact
# uses: softprops/action-gh-release@v2
# env:
# GITHUB_TOKEN: ${{ github.token }}
# with:
# files: |
# v86.tar.gz