roc/.github/workflows/ci.yml
2021-02-06 14:18:03 +01:00

29 lines
637 B
YAML

on: [pull_request]
name: CI
env:
RUST_BACKTRACE: 1
jobs:
prep-dependency-container:
name: fmt, clippy, test --release
runs-on: self-hosted
timeout-minutes: 60
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v2
- name: Earthly version
run: earthly --version
- name: Make empty cache folder if it does exist
run: mkdir -p sccache_dir;
- name: install dependencies, build, run zig tests, rustfmt, clippy, cargo test --release
run: earthly +test-all
- name: show remaining disk space (max 144 GB)
run: df -h --total | grep "total\|Size"