-
Notifications
You must be signed in to change notification settings - Fork 45
45 lines (35 loc) · 981 Bytes
/
stdlib.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
name: Analyze Standard Library
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache toolchain
uses: actions/cache@v2
env:
cache-name: cache-rust-toolchain
with:
path: ~/.rustup/toolchains
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('ci/setup_toolchains.sh') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Setup toolchains
run: ci/setup_toolchains.sh
- name: Build
run: ci/build.sh
- name: Install xargo
run: cargo install xargo
- name: Download rust source
run: rustup component add rust-src
- name: Analyze standard library
working-directory: stdlib-analysis
run: ./rudra_analyze_std.sh