fix test and build ci
Some checks failed
Some checks failed
This commit is contained in:
@@ -43,6 +43,19 @@ jobs:
|
|||||||
check-latest: true
|
check-latest: true
|
||||||
cache: 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
|
- name: Test
|
||||||
run: go test -race -v -shuffle=on ./...
|
run: go test -race -v -shuffle=on ./...
|
||||||
|
|
||||||
@@ -95,7 +108,7 @@ jobs:
|
|||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
EXE: .exe
|
EXE: .exe
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
CC: gcc
|
CC: x86_64-w64-mingw64-gcc
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user