arm-gcc-playground/.woodpecker.yaml

23 lines
472 B
YAML
Raw Permalink Normal View History

2024-01-21 15:58:11 +01:00
steps:
build:
image: git.holgersson.xyz/nfr/alpine-with-gcc:3.19-20240121
2024-01-21 16:20:44 +01:00
pull: true
2024-01-21 15:58:11 +01:00
commands:
gcc main.c -o main
2024-01-21 16:22:37 +01:00
test:
2024-01-21 16:23:14 +01:00
image: git.holgersson.xyz/nfr/alpine-with-gcc:latest
2024-01-21 16:22:37 +01:00
pull: true
commands:
./main
2024-01-21 16:43:02 +01:00
publish:
image: woodpeckerci/plugin-gitea-release
settings:
base_url: https://git.holgersson.xyz
files:
- "main"
api_key:
from_secret: GITEA_ACCESS_TOKEN
target: main