dtmt/.ci/tasks/build.yml
Lucas Schwiderski c2cdeedb2c
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
ci: Add caches
Closes #126.
2023-11-13 16:13:26 +01:00

35 lines
719 B
YAML

# yaml-language-server: $schema=https://raw.githubusercontent.com/cappyzawa/concourse-pipeline-jsonschema/master/concourse_jsonschema.json#/definitions/TaskConfig
---
platform: linux
image_resource:
name: ctmt-bi-base-((target))
type: registry-image
source:
repository: registry.local:5000/dtmt-ci-base-((target))
tag: latest
inputs:
- name: repo
outputs:
- name: artifacts
caches:
- path: repo/target
- path: /usr/local/cargo/registry
params:
CI: "true"
TARGET: ((target))
GITEA_API_KEY: ((gitea_api_key))
REF: ((ref))
OUTPUT: artifacts
run:
path: .ci/util/run.sh
dir: repo
args:
- .ci/tasks/build.sh
- build/((target))
- "Build for the target platform: ((target))"