Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe committed Sep 27, 2024
1 parent 7581191 commit b7263d9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
on:
push:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
build:
uses: gardenlinux/package-build/.github/workflows/build.yml@main
with:
release: ${{ github.ref == 'refs/heads/main' }}
2 changes: 1 addition & 1 deletion debian/glvd.install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
debian/.go-build/oras usr/bin
debian/.go-build/glvd usr/bin
5 changes: 2 additions & 3 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ export GIT_COMMIT = $(shell git rev-parse HEAD)
export GIT_DIRTY = $(shell test -n "`git status --porcelain`" && echo "dirty" || echo "clean")

source:
# vendor all modules so we have a self-contained source
go mod vendor
:

%:
dh $@ --buildsystem=none

override_dh_auto_build:
go build -v ./...
go build -o debian/.go-build/glvd .

override_dh_auto_clean:
go clean
Expand Down

0 comments on commit b7263d9

Please sign in to comment.