dtmt/.ci/tasks/build.yml
Lucas Schwiderski feff4b83be
All checks were successful
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
feat(ci): Implement pipeline for PRs
This includes using Gitea's Commit Status API to add checks to the PR
UI.
2023-03-30 10:42:00 +02:00

29 lines
453 B
YAML

---
platform: linux
image_resource:
type: registry-image
source:
repository: registry.local:5000/dtmt-ci-base-((target))
tag: latest
inputs:
- name: repo
outputs:
- name: artifact
params:
CI: true
TARGET: ((target))
GITEA_API_KEY: ((gitea_api_key))
REF: ((ref))
OUTPUT: artifact
run:
path: .ci/util/run.sh
dir: repo
args:
- .ci/tasks/build.sh
- build/((target))
- "Build for the target platform: ((target))"