-
Notifications
You must be signed in to change notification settings - Fork 6
50 lines (41 loc) · 1.07 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# This is a minimal wrapper around ci.sh
# ci.sh is intended to be usable locally without github.
# This yaml file can be debugged using act https://github.com/nektos/act
name: ci
on:
pull_request:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target_ci
key: rust3-${{ runner.os }}-${{ hashFiles('rust-toolchain.toml') }}
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
- name: build
run: ./testing/ci.sh
- name: picow bloat
uses: actions/upload-artifact@v3
with:
name: picow-bloat
path: ci_out/picow-bloat.txt