Skip to content

Commit

Permalink
build: Use Fedora as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
pojntfx committed Aug 25, 2023
1 parent 705b3ca commit bb32583
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hydrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
target:
- id: flatpak
src: .
os: golang:bullseye
os: fedora:38
flags: ""
cmd: ./Hydrunfile flatpak
dst: out/*
Expand Down
1 change: 1 addition & 0 deletions Hydrunfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ EOT
gpg --output /tmp/repo.asc --armor --export

# Install dependencies
dnf install -y flatpak-builder
flatpak remote-add --if-not-exists 'flathub' 'https://flathub.org/repo/flathub.flatpakrepo'
flatpak install -y 'flathub' "org.gnome.Platform//44" "org.gnome.Sdk//44" "org.freedesktop.Sdk.Extension.golang//21.08"

Expand Down
3 changes: 1 addition & 2 deletions com.pojtinger.felicitas.vintangle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ modules:
buildsystem: simple
build-commands:
- git config --global --add safe.directory '*'
- GOPROXY='https://proxy.golang.org,direct' sh -c '. /usr/lib/sdk/golang/enable.sh && go generate ./...'
- . /usr/lib/sdk/golang/enable.sh && export GOPROXY='https://proxy.golang.org,direct' && go build -o out/com.pojtinger.felicitas.vintangle .
- . /usr/lib/sdk/golang/enable.sh && export GOPROXY='https://proxy.golang.org,direct' && go generate ./... && go build -o out/com.pojtinger.felicitas.vintangle .
- install -D out/com.pojtinger.felicitas.vintangle /app/bin/com.pojtinger.felicitas.vintangle
- desktop-file-install --dir=/app/share/applications com.pojtinger.felicitas.vintangle.desktop
- appstream-util validate-relax com.pojtinger.felicitas.vintangle.metainfo.xml
Expand Down

0 comments on commit bb32583

Please sign in to comment.