engage_earn_api/ci/build-linux.yml
Mitchell Marino 8e704ee41d test pipeline
2023-01-11 23:26:00 -06:00

23 lines
340 B
YAML

platform: linux
image_resource:
type: registry-image
source: {repository: rust}
# move cargo's config directory to be ./.cargo-config/ and cache it
params:
CARGO_HOME: "./.cargo-config"
caches:
- path: "./target"
- path: "./.cargo-config"
inputs:
- name: repo
run:
path: cargo
args: ["build", "--release"]
dir: "repo"