-
Notifications
You must be signed in to change notification settings - Fork 32
38 lines (36 loc) · 1.19 KB
/
test.yml
File metadata and controls
38 lines (36 loc) · 1.19 KB
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
name: Test
on:
- push
- pull_request
jobs:
linux:
strategy:
matrix:
toolchain:
- "1.87"
- "stable"
- "beta"
- "nightly"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo build --manifest-path examples/simple-send/Cargo.toml
- run: cargo test --no-default-features
- run: cargo doc --no-default-features
- run: cargo test --no-default-features --features isahc-client
- run: cargo doc --no-default-features --features isahc-client
- run: cargo test --no-default-features --features hyper-client
- run: cargo doc --no-default-features --features hyper-client
- run: cargo test --no-default-features --features isahc-client,hyper-client
- run: cargo doc --no-default-features --features isahc-client,hyper-client
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- run: vcpkg integrate install
- run: vcpkg install openssl:x64-windows-static-md
- uses: dtolnay/rust-toolchain@stable
- run: cargo test