Debian Codegraph @

debian/missing-sources/unicode-bidi/.github/workflows/main.yml

raw symbols SCIP
1 name: CI
2
3 on:
4 push:
5 branches: ['main', 'auto']
6 pull_request:
7
8 jobs:
9 Test:
10 strategy:
11 matrix:
12 os: [ubuntu-latest]
13 rust: [1.47.0, stable, beta, nightly]
14 runs-on: ${{ matrix.os }}
15 steps:
16 - uses: actions/checkout@v4
17 - uses: dtolnay/rust-toolchain@master
18 with:
19 toolchain: ${{ matrix.rust }}
20 - name: Unpin dependencies except on MSRV
21 if: matrix.rust != '1.47.0'
22 run: cargo update
23 - run: cargo build --all-targets
24 - run: cargo test
25 - run: cargo test --features "serde"
26 - run: cargo test --no-default-features
27 - run: cargo test --no-default-features --features=hardcoded-data
28 Fmt:
29 runs-on: ubuntu-latest
30 steps:
31 - uses: actions/checkout@v4
32 - uses: dtolnay/rust-toolchain@stable
33 with:
34 components: rustfmt
35 - run: cargo fmt --check
36 Verify:
37 runs-on: ubuntu-latest
38 steps:
39 - uses: actions/checkout@v4
40 - name: Verify regenerated files
41 run: ./tools/generate.py && git diff --exit-code -- src/char_data/tables.rs
42 build_result:
43 name: homu build finished
44 runs-on: ubuntu-latest
45 needs:
46 - "Test"
47 - "Fmt"
48 steps:
49 - name: Mark the job as successful
50 run: exit 0
51 if: success()
52 - name: Mark the job as unsuccessful
53 run: exit 1
54 if: "!success()"