-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (26 loc) · 885 Bytes
/
build.yml
File metadata and controls
34 lines (26 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build
on:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Prepare build
run: go install fyne.io/fyne/v2/cmd/fyne@latest && go install github.com/fyne-io/fyne-cross@latest
- name: Build for Windows
run: fyne-cross windows -icon Icon.png -arch=* -app-id com.virusrpi.flightcontrol
- name: Build for Android
run: fyne-cross android -icon Icon.png -arch=* -app-id com.virusrpi.flightcontrol
- name: Build for Linux
run: fyne-cross linux -icon Icon.png -arch=* -app-id com.virusrpi.flightcontrol
- name: Save Artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts
path: ./fyne-cross/dist/*