Skip to content

Commit

Permalink
ci: ditch fyne-cross
Browse files Browse the repository at this point in the history
Signed-off-by: Rachel Powers <[email protected]>
  • Loading branch information
Ryex committed Sep 24, 2024
1 parent c017b00 commit cf9c1be
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ jobs:
- os: linux
- os: windows
ext: .exe
args: -app-id io.github.ryex.dungondraft-gopackager
host: windows-latest
- os: darwin
host: macos-latest
args: -app-id io.github.ryex.dungondraft-gopackager
steps:
- name: Setup Go environment
id: setup-go
Expand All @@ -37,25 +36,15 @@ jobs:
~/.cache/go-build
~/.cache/fyne-cross
key: ${{ runner.os }}-build-cache-${{ hashFiles('**/go.sum') }}
- name: Install Fyne-cross
run: go install github.com/fyne-io/fyne-cross@latest
- name: Install Fyne
run: go install fyne.io/fyne/v2/cmd/fyne@latest
- name: Install Podman
if: ${{ runner.os == 'macos' }}
run: |
brew install podman
podman machine init
podman machine start
- name: install go deps
run: go mod download
- name: Build gui
run: |
fyne-cross \
${{ matrix.target.os }} \
fyne package \
${{ matrix.target.args }} \
-dir ./cmd/dungeondraft-packager \
-name dungeondraft-packager${{ matrix.target.ext }}
--src ./cmd/dungeondraft-packager
ls -R fyne-cross
- name: Build cli
run: |
Expand Down
9 changes: 9 additions & 0 deletions FyneApp.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

Website = "https://ryex.github.io/Dungeondraft-GoPackager/"

[Details]
# Icon = "Icon.png"
Name = "Dungeondraft GoPackager"
ID = "io.github.ryex.dungondraft-gopackager"
Version = "0.1.0"
Build = 1

0 comments on commit cf9c1be

Please sign in to comment.