fix test and build ci
Some checks failed
CI / Lint (push) Successful in 33s
CI / Lint (pull_request) Successful in 1m6s
CI / Build (push) Failing after 5m33s
CI / Test (push) Successful in 5m46s
CI / Build (pull_request) Failing after 4m35s
CI / Test (pull_request) Successful in 5m27s

This commit is contained in:
2024-03-10 16:24:56 -05:00
parent 4c1de974f0
commit 57d8c1b330

View File

@@ -43,6 +43,19 @@ jobs:
check-latest: true
cache: true
- name: Setup OS dependencies
run: |
apt-get update
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: Get fyne command
run: |
go install fyne.io/fyne/v2/cmd/fyne@latest
- name: Get go dependencies
run: |
go mod tidy
- name: Test
run: go test -race -v -shuffle=on ./...
@@ -95,7 +108,7 @@ jobs:
GOARCH: amd64
EXE: .exe
CGO_ENABLED: 1
CC: gcc
CC: x86_64-w64-mingw64-gcc
- name: Upload artifact
uses: actions/upload-artifact@v3