chore: set upx to compress and try lzma #209
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: push | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dev dependencies | |
run: sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev | |
- uses: WillAbides/setup-go-faster@v1.14.0 | |
with: | |
go-version: '1.23.1' | |
- name: Generate assets | |
run: | | |
go install fyne.io/fyne/v2/cmd/fyne@latest | |
echo "go generate" | |
go generate -v ./... | |
echo "Git status" | |
git status --short | |
# Ensure repo clean after go generate | |
git diff-index --quiet HEAD -- | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -v ./... |