| 
1 |  | -name: rustls-rustcrypto  | 
2 |  | - | 
3 |  | -on:  | 
4 |  | -  pull_request:  | 
5 |  | -    paths-ignore:  | 
6 |  | -      - README.md  | 
7 |  | -  push:  | 
8 |  | -    branches: master  | 
9 |  | -    paths-ignore:  | 
10 |  | -      - README.md  | 
11 |  | - | 
12 |  | -permissions:  | 
13 |  | -  contents: read  | 
14 |  | - | 
15 |  | -env:  | 
16 |  | -  CARGO_INCREMENTAL: 0  | 
17 |  | -  RUSTFLAGS: "-Dwarnings"  | 
18 |  | - | 
19 |  | -jobs:  | 
20 |  | -  clippy:  | 
21 |  | -    runs-on: ubuntu-latest  | 
22 |  | -    steps:  | 
23 |  | -      - uses: actions/checkout@v4  | 
24 |  | -      - uses: dtolnay/rust-toolchain@master  | 
25 |  | -        with:  | 
26 |  | -          toolchain: 1.75.0  | 
27 |  | -          components: clippy  | 
28 |  | -      - run: cargo clippy --all --all-features -- -D warnings  | 
29 |  | - | 
30 |  | -  doc:  | 
31 |  | -    runs-on: ubuntu-latest  | 
32 |  | -    steps:  | 
33 |  | -      - uses: actions/checkout@v4  | 
34 |  | -      - uses: dtolnay/rust-toolchain@master  | 
35 |  | -        with:  | 
36 |  | -          toolchain: stable  | 
37 |  | -      - run: cargo doc --all-features --no-deps  | 
38 |  | - | 
39 |  | -  rustfmt:  | 
40 |  | -    runs-on: ubuntu-latest  | 
41 |  | -    steps:  | 
42 |  | -      - uses: actions/checkout@v4  | 
43 |  | -      - uses: dtolnay/rust-toolchain@master  | 
44 |  | -        with:  | 
45 |  | -          toolchain: stable  | 
46 |  | -          components: rustfmt  | 
47 |  | -      - run: cargo fmt --all -- --check  | 
48 |  | - | 
49 |  | -  no_std:  | 
50 |  | -    runs-on: ubuntu-latest  | 
51 |  | -    strategy:  | 
52 |  | -      matrix:  | 
53 |  | -        rust:  | 
54 |  | -          - 1.75.0 # MSRV  | 
55 |  | -          - stable  | 
56 |  | -        target:  | 
57 |  | -          - armv7a-none-eabi  | 
58 |  | -          - thumbv7em-none-eabi  | 
59 |  | -          - wasm32-unknown-unknown  | 
60 |  | -    steps:  | 
61 |  | -      - uses: actions/checkout@v4  | 
62 |  | -      - uses: dtolnay/rust-toolchain@master  | 
63 |  | -        with:  | 
64 |  | -          toolchain: ${{ matrix.rust }}  | 
65 |  | -          targets: ${{ matrix.target }}  | 
66 |  | -      - run: cargo build --no-default-features --features tls12,full,alloc --release --target ${{ matrix.target }}  | 
67 |  | - | 
68 |  | -  test:  | 
69 |  | -    strategy:  | 
70 |  | -      matrix:  | 
71 |  | -        toolchain:  | 
72 |  | -          - 1.75.0 # MSRV  | 
73 |  | -          - stable  | 
74 |  | -    runs-on: ubuntu-latest  | 
75 |  | -    steps:  | 
76 |  | -      - uses: actions/checkout@v4  | 
77 |  | -      - uses: RustCrypto/actions/cargo-cache@master  | 
78 |  | -      - uses: dtolnay/rust-toolchain@master  | 
79 |  | -        with:  | 
80 |  | -          toolchain: ${{ matrix.toolchain }}  | 
81 |  | -      - run: cargo test --features tls12  | 
82 |  | -      - name: Test no_std with alloc  | 
83 |  | -        run: cargo test --no-default-features --features tls12,full,alloc  | 
84 |  | - | 
85 |  | -  cross:  | 
86 |  | -    strategy:  | 
87 |  | -      matrix:  | 
88 |  | -        include:  | 
89 |  | -          - target: powerpc-unknown-linux-gnu  | 
90 |  | -            rust: 1.75.0 # MSRV  | 
91 |  | -          - target: powerpc-unknown-linux-gnu  | 
92 |  | -            rust: stable  | 
93 |  | -    runs-on: ubuntu-latest  | 
94 |  | -    steps:  | 
95 |  | -      - uses: actions/checkout@v4  | 
96 |  | -      - run: ${{ matrix.deps }}  | 
97 |  | -      - uses: dtolnay/rust-toolchain@master  | 
98 |  | -        with:  | 
99 |  | -          toolchain: ${{ matrix.rust }}  | 
100 |  | -          targets: ${{ matrix.target }}  | 
101 |  | -      - uses: RustCrypto/actions/cross-install@master  | 
102 |  | -      - run: cross test --release --target ${{ matrix.target }} --all-features  | 
 | 1 | +name: rustls-rustcrypto  | 
 | 2 | + | 
 | 3 | +on:  | 
 | 4 | +  pull_request:  | 
 | 5 | +    paths-ignore:  | 
 | 6 | +      - README.md  | 
 | 7 | +  push:  | 
 | 8 | +    branches: master  | 
 | 9 | +    paths-ignore:  | 
 | 10 | +      - README.md  | 
 | 11 | + | 
 | 12 | +permissions:  | 
 | 13 | +  contents: read  | 
 | 14 | + | 
 | 15 | +env:  | 
 | 16 | +  CARGO_INCREMENTAL: 0  | 
 | 17 | +  RUSTFLAGS: "-Dwarnings"  | 
 | 18 | + | 
 | 19 | +jobs:  | 
 | 20 | +  clippy:  | 
 | 21 | +    runs-on: ubuntu-latest  | 
 | 22 | +    steps:  | 
 | 23 | +      - uses: actions/checkout@v4  | 
 | 24 | +      - uses: dtolnay/rust-toolchain@master  | 
 | 25 | +        with:  | 
 | 26 | +          toolchain: 1.85.0  | 
 | 27 | +          components: clippy  | 
 | 28 | +      - run: cargo clippy --all --all-features -- -D warnings  | 
 | 29 | + | 
 | 30 | +  doc:  | 
 | 31 | +    runs-on: ubuntu-latest  | 
 | 32 | +    steps:  | 
 | 33 | +      - uses: actions/checkout@v4  | 
 | 34 | +      - uses: dtolnay/rust-toolchain@master  | 
 | 35 | +        with:  | 
 | 36 | +          toolchain: stable  | 
 | 37 | +      - run: cargo doc --all-features --no-deps  | 
 | 38 | + | 
 | 39 | +  rustfmt:  | 
 | 40 | +    runs-on: ubuntu-latest  | 
 | 41 | +    steps:  | 
 | 42 | +      - uses: actions/checkout@v4  | 
 | 43 | +      - uses: dtolnay/rust-toolchain@master  | 
 | 44 | +        with:  | 
 | 45 | +          toolchain: stable  | 
 | 46 | +          components: rustfmt  | 
 | 47 | +      - run: cargo fmt --all -- --check  | 
 | 48 | + | 
 | 49 | +  no_std:  | 
 | 50 | +    runs-on: ubuntu-latest  | 
 | 51 | +    strategy:  | 
 | 52 | +      matrix:  | 
 | 53 | +        rust:  | 
 | 54 | +          - 1.85.0 # MSRV  | 
 | 55 | +          - stable  | 
 | 56 | +        target:  | 
 | 57 | +          - armv7a-none-eabi  | 
 | 58 | +          - thumbv7em-none-eabi  | 
 | 59 | +          - wasm32-unknown-unknown  | 
 | 60 | +    steps:  | 
 | 61 | +      - uses: actions/checkout@v4  | 
 | 62 | +      - uses: dtolnay/rust-toolchain@master  | 
 | 63 | +        with:  | 
 | 64 | +          toolchain: ${{ matrix.rust }}  | 
 | 65 | +          targets: ${{ matrix.target }}  | 
 | 66 | +      - run: cargo build --no-default-features --features tls12,full,alloc --release --target ${{ matrix.target }}  | 
 | 67 | + | 
 | 68 | +  test:  | 
 | 69 | +    strategy:  | 
 | 70 | +      matrix:  | 
 | 71 | +        toolchain:  | 
 | 72 | +          - 1.85.0 # MSRV  | 
 | 73 | +          - stable  | 
 | 74 | +    runs-on: ubuntu-latest  | 
 | 75 | +    steps:  | 
 | 76 | +      - uses: actions/checkout@v4  | 
 | 77 | +      - uses: RustCrypto/actions/cargo-cache@master  | 
 | 78 | +      - uses: dtolnay/rust-toolchain@master  | 
 | 79 | +        with:  | 
 | 80 | +          toolchain: ${{ matrix.toolchain }}  | 
 | 81 | +      - run: cargo test --features tls12  | 
 | 82 | +      - name: Test no_std with alloc  | 
 | 83 | +        run: cargo test --no-default-features --features tls12,full,alloc  | 
 | 84 | + | 
 | 85 | +  cross:  | 
 | 86 | +    strategy:  | 
 | 87 | +      matrix:  | 
 | 88 | +        include:  | 
 | 89 | +          - target: powerpc-unknown-linux-gnu  | 
 | 90 | +            rust: 1.85.0 # MSRV  | 
 | 91 | +          - target: powerpc-unknown-linux-gnu  | 
 | 92 | +            rust: stable  | 
 | 93 | +    runs-on: ubuntu-latest  | 
 | 94 | +    steps:  | 
 | 95 | +      - uses: actions/checkout@v4  | 
 | 96 | +      - run: ${{ matrix.deps }}  | 
 | 97 | +      - uses: dtolnay/rust-toolchain@master  | 
 | 98 | +        with:  | 
 | 99 | +          toolchain: ${{ matrix.rust }}  | 
 | 100 | +          targets: ${{ matrix.target }}  | 
 | 101 | +      - uses: RustCrypto/actions/cross-install@master  | 
 | 102 | +      - run: cross test --release --target ${{ matrix.target }} --all-features  | 
0 commit comments