mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 15:59:20 +03:00
29 lines
637 B
YAML
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"
|