vieter/.woodpecker/test.yml

31 lines
546 B
YAML
Raw Normal View History

2022-09-15 13:42:49 +02:00
variables:
2023-01-16 22:48:40 +01:00
- &vlang_image 'git.rustybever.be/chewing_bever/vlang:0.3.2-alpine3.17'
2022-09-15 13:42:49 +02:00
matrix:
PLATFORM:
- 'linux/amd64'
- 'linux/arm64'
branches:
exclude: [ main ]
platform: ${PLATFORM}
pipeline:
install-modules:
2022-09-15 13:42:49 +02:00
image: *vlang_image
pull: true
commands:
- export VMODULES=$PWD/.vmodules
- 'cd src && v install'
when:
event: [pull_request]
test:
2022-09-15 13:42:49 +02:00
image: *vlang_image
pull: true
commands:
2022-06-22 09:59:44 +02:00
- export VMODULES=$PWD/.vmodules
- make test
when:
event: [pull_request]