Skip to content

Commit

Permalink
test macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolakovics committed Nov 7, 2024
1 parent e2de86b commit b0230ff
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@ on:
- '.github/FUNDING.yml'

jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Install fyne-cross
run: go install github.com/fyne-io/fyne-cross@latest
- name: Cross-compile for Linux
run: fyne-cross linux

build-windows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Install fyne-cross
run: go install github.com/fyne-io/fyne-cross@latest
- name: Cross-compile for Windows
run: fyne-cross windows
# build-linux:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up Go
# uses: actions/setup-go@v5
# with:
# go-version: 1.22
# - name: Install fyne-cross
# run: go install github.com/fyne-io/fyne-cross@latest
# - name: Cross-compile for Linux
# run: fyne-cross linux
#
# build-windows:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up Go
# uses: actions/setup-go@v5
# with:
# go-version: 1.22
# - name: Install fyne-cross
# run: go install github.com/fyne-io/fyne-cross@latest
# - name: Cross-compile for Windows
# run: fyne-cross windows

build-mac:
runs-on: macos-latest
Expand All @@ -56,6 +56,7 @@ jobs:
- name: Build Fyne application for macOS
run: |
fyne package -os darwin -icon Icon.png
ls -al
ls -al fyne-cross
- name: Upload macOS artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b0230ff

Please sign in to comment.