2023-02-08 10:50:07 +01:00
|
|
|
variables:
|
|
|
|
- &vlang_image 'git.rustybever.be/chewing_bever/vlang:0.3.3-alpine3.17'
|
|
|
|
|
2022-11-01 20:17:05 +01:00
|
|
|
branches:
|
|
|
|
exclude: [ main ]
|
|
|
|
|
|
|
|
platform: 'linux/amd64'
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
2023-02-08 10:50:07 +01:00
|
|
|
image: *vlang_image
|
2022-11-01 20:17:05 +01:00
|
|
|
commands:
|
|
|
|
- make
|
|
|
|
when:
|
|
|
|
event: [ push ]
|
|
|
|
|
|
|
|
lint:
|
2023-02-08 10:50:07 +01:00
|
|
|
image: *vlang_image
|
2022-11-01 20:17:05 +01:00
|
|
|
commands:
|
|
|
|
- make lint
|
|
|
|
when:
|
|
|
|
event: [ push ]
|