Debian Codegraph @

debian/missing-sources/tendril/.github/workflows/main.yml

raw symbols SCIP
1 name: CI
2
3 on:
4 push:
5 branches: [auto]
6 pull_request:
7 workflow_dispatch:
8
9 jobs:
10 linux-ci:
11 name: Linux
12 runs-on: ubuntu-latest
13 strategy:
14 matrix:
15 toolchain: ["stable", "beta", "nightly", "1.36.0"]
16 steps:
17 - uses: actions/checkout@v2
18
19 - name: Install toolchain
20 uses: actions-rs/toolchain@v1
21 with:
22 profile: minimal
23 toolchain: ${{ matrix.toolchain }}
24 override: true
25
26 - name: Cargo build
27 run: cargo build
28
29 - name: Cargo doc
30 run: cargo doc
31
32 - name: Cargo test
33 run: cargo test --features 'encoding encoding_rs'
34
35 - name: Cargo bench
36 if: matrix.toolchain == 'nightly'
37 run: cargo test --features bench
38
39 build_result:
40 name: homu build finished
41 runs-on: ubuntu-latest
42 needs:
43 - "linux-ci"
44
45 steps:
46 - name: Mark the job as successful
47 run: exit 0
48 if: success()
49 - name: Mark the job as unsuccessful
50 run: exit 1
51 if: "!success()"