Skip to content

[many] BUILD_ROOT environment var to minimise pollution in the source repo #306

[many] BUILD_ROOT environment var to minimise pollution in the source repo

[many] BUILD_ROOT environment var to minimise pollution in the source repo #306

Workflow file for this run

name: Rust
on:
push:
branches:
- master
- main
paths:
- 'rs/**'
- '.github/workflows/rs.yml'
- '.github/workflows/common.yml'
- 'flake.*'
pull_request:
paths:
- 'rs/**'
- '.github/workflows/rs.yml'
- '.github/workflows/common.yml'
- 'flake.*'
workflow_dispatch:
jobs:
common:
name: Common
uses: ./.github/workflows/common.yml
with:
workdir: rs
format-pkgs: cargo
build-pkgs: gcc libsdl2-dev cargo
cache-paths: |
~/.cargo
rs/target
cache-file: '**/Cargo.lock'