LatexAutoInstaller/.gitlab-ci.yml

25 lines
477 B
YAML
Raw Normal View History

2021-08-28 19:32:00 +00:00
stages:
- build
- compress
2021-08-26 14:37:02 +00:00
Build_Go:
image: golang:latest
stage: build
script:
2021-08-28 19:32:00 +00:00
- go build -ldflags="-s -w" -v -o latexautoinstaller
2021-08-26 14:37:02 +00:00
artifacts:
expire_in: 2 days
paths:
- "./latexautoinstaller*"
2021-08-28 19:32:00 +00:00
Compress_upx:
image: hairyhenderson/upx
stage: compress
dependencies:
- Build_Go
script:
- upx --ultra-brute -o latexautoinstaller-upx latexautoinstaller
artifacts:
expire_in: 2 days
paths:
- "./latexautoinstaller-upx*"