Skip to content

Commit

Permalink
remove docker and try to build native
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolakovics committed Nov 4, 2024
1 parent 9f6a5c7 commit 5b7e75d
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,17 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Install fyne-cross
run: go install github.com/fyne-io/fyne-cross@latest
# - name: Install Homebrew
# run: |
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# - name: Install Docker
# run: |
# brew install docker
- name: Install QEMU 9.0.2
uses: docker/actions-toolkit/.github/actions/macos-setup-qemu@19ca9ade20f5da695f76a10988d6532058575f82
- name: Set up Docker
uses: crazy-max/ghaction-setup-docker@v3
- name: Install fyne
run: go install fyne.io/fyne/v2/cmd/fyne@latest
- name: Build Fyne application for macOS
env:
CGO_ENABLED: 1
GOOS: darwin
GOARCH: amd64 # Change if targeting a different architecture
CC: o32-clang # Specify your C compiler here
run: |
set -x
docker version
fyne-cross darwin
fyne package -os darwin -icon Icon.png
ls -al
- name: Upload macOS artifact
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 5b7e75d

Please sign in to comment.