Skip to content

Merge branch 'release/v2.4.x' #1

Merge branch 'release/v2.4.x'

Merge branch 'release/v2.4.x' #1

Workflow file for this run

name: Web Tests
on: [push, pull_request]
permissions:
contents: read
jobs:
web_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: WillAbides/[email protected]
with:
go-version: '1.17.x'
- name: Get dependencies
run: sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev
- name: Build WebAssembly binary
env:
GOOS: js
GOARCH: wasm
working-directory: cmd/fyne_demo
run: go build
- name: Build GopherJS and Wasm full website
run: |
go install github.com/gopherjs/gopherjs@latest
go install ./cmd/fyne
cd cmd/fyne_demo && fyne package --target=web