mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Merge branch 'trunk' into new_num_layer
This commit is contained in:
commit
80454424bb
2 changed files with 18 additions and 5 deletions
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
|
@ -2,9 +2,6 @@ on: [pull_request]
|
||||||
|
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
env:
|
|
||||||
RUSTC_WRAPPER: "./ci/sccache"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: fmt, clippy, test, test --release
|
name: fmt, clippy, test, test --release
|
||||||
|
@ -31,6 +28,24 @@ jobs:
|
||||||
|
|
||||||
- run: rustup component add rustfmt
|
- run: rustup component add rustfmt
|
||||||
|
|
||||||
|
- name: Cache cargo registry
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/.cargo/registry
|
||||||
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
|
- name: Cache cargo index
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/.cargo/git
|
||||||
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
|
- name: Cache compiled valgrind
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: ~/valgrind-3.6.1/
|
||||||
|
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
name: rustfmt version
|
name: rustfmt version
|
||||||
with:
|
with:
|
||||||
|
@ -69,5 +84,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --release
|
args: --release
|
||||||
|
|
||||||
- run: ./ci/sccache --show-stats
|
|
||||||
|
|
BIN
ci/sccache
BIN
ci/sccache
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue