Skip to content

create rollapp fix #337

create rollapp fix

create rollapp fix #337

Workflow file for this run

name: Build Rollapp-wasm
on: ["push"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64]
targetos: [darwin, linux]
go-version: ['1.21.x']
include:
- targetos: darwin
arch: arm64
name: rollapp ${{ matrix.arch }} for ${{ matrix.targetos }}
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
go-version: ${{ matrix.go-version }}
env:
GOOS: ${{ matrix.targetos }}
GOARCH: ${{ matrix.arch }}
- name: Compile rollapp-wasm
run: |
go mod download
cd rollappd
go build .
- uses: actions/upload-artifact@v3
with:
name: rollappd ${{ matrix.targetos }} ${{ matrix.arch }}
path: rollappd/rollappd