Possibly smarter winbuild

This commit is contained in:
Neale Pickett 2023-12-06 17:13:21 -07:00
parent 7418a3c224
commit 535276446c
1 changed files with 4 additions and 5 deletions

View File

@ -38,17 +38,16 @@ Generage coverage XML:
coverage_format: cobertura coverage_format: cobertura
path: coverage.xml path: coverage.xml
build-win: winbuild:
stage: build stage: build
image: *goimage image: *goimage
needs: ["Run unit tests"] needs: ["Run unit tests"]
script: script:
- apt-get -y update - GOOS=windows GOARCH=amd64 go build ./...
- apt-get -y install zip
- ./build/package/winbuild.sh
artifacts: artifacts:
paths: paths:
- build/package/winmoth.*.zip - mothd.exe
- theme/*
push: push:
stage: push stage: push