Skip to content

Commit 299d3ef

Browse files
authored
backend/winhttp: init (#44)
1 parent 656d94b commit 299d3ef

41 files changed

Lines changed: 3372 additions & 46 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/backend-tests-async-stream.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,22 @@ jobs:
1818
- name: Test curl
1919
run: cargo test -p nyquest-backend-tests --verbose --features async-stream,curl,multipart
2020

21-
test-async-stream-windows:
21+
test-async-stream-windows-winrt:
2222
runs-on: windows-latest
2323

2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: Test winrt
2727
run: cargo test -p nyquest-backend-tests --verbose --features async-stream,winrt,multipart
2828

29+
test-async-stream-windows-winhttp:
30+
runs-on: windows-latest
31+
32+
steps:
33+
- uses: actions/checkout@v4
34+
- name: Test winhttp
35+
run: cargo test -p nyquest-backend-tests --verbose --features async-stream,winhttp,multipart
36+
2937
test-async-stream-macos:
3038
runs-on: macos-latest
3139

.github/workflows/backend-tests-async.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,22 @@ jobs:
1818
- name: Test curl
1919
run: cargo test -p nyquest-backend-tests --verbose --features async,curl,multipart
2020

21-
test-async-windows:
21+
test-async-windows-winrt:
2222
runs-on: windows-latest
2323

2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: Test winrt
2727
run: cargo test -p nyquest-backend-tests --verbose --features async,winrt,multipart
2828

29+
test-async-windows-winhttp:
30+
runs-on: windows-latest
31+
32+
steps:
33+
- uses: actions/checkout@v4
34+
- name: Test winhttp
35+
run: cargo test -p nyquest-backend-tests --verbose --features async,winhttp,multipart
36+
2937
test-async-macos:
3038
runs-on: macos-latest
3139

.github/workflows/backend-tests-blocking-stream.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,22 @@ jobs:
1818
- name: Test curl
1919
run: cargo test -p nyquest-backend-tests --verbose --features blocking-stream,curl,multipart
2020

21-
test-blocking-stream-windows:
21+
test-blocking-stream-windows-winrt:
2222
runs-on: windows-latest
2323

2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: Test winrt
2727
run: cargo test -p nyquest-backend-tests --verbose --features blocking-stream,winrt,multipart
2828

29+
test-blocking-stream-windows-winhttp:
30+
runs-on: windows-latest
31+
32+
steps:
33+
- uses: actions/checkout@v4
34+
- name: Test winhttp
35+
run: cargo test -p nyquest-backend-tests --verbose --features blocking-stream,winhttp,multipart
36+
2937
test-blocking-stream-macos:
3038
runs-on: macos-latest
3139

.github/workflows/backend-tests-blocking.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,22 @@ jobs:
1818
- name: Test curl
1919
run: cargo test -p nyquest-backend-tests --verbose --features blocking,curl,multipart
2020

21-
test-blocking-windows:
21+
test-blocking-windows-winrt:
2222
runs-on: windows-latest
2323

2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: Test winrt
2727
run: cargo test -p nyquest-backend-tests --verbose --features blocking,winrt,multipart
2828

29+
test-blocking-windows-winhttp:
30+
runs-on: windows-latest
31+
32+
steps:
33+
- uses: actions/checkout@v4
34+
- name: Test winhttp
35+
run: cargo test -p nyquest-backend-tests --verbose --features blocking,winhttp,multipart
36+
2937
test-blocking-macos:
3038
runs-on: macos-latest
3139

.github/workflows/run-tests.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
13-
build:
13+
test-linux-generic:
1414

1515
runs-on: ubuntu-latest
1616

@@ -20,11 +20,41 @@ jobs:
2020
run: cargo build --verbose --all-features
2121
- name: Run tests
2222
run: cargo test --verbose --all-features
23+
- name: Run backend/curl tests
24+
run: cargo test --verbose --all-features -p nyquest-backend-curl
25+
- name: Run backend/reqwest tests
26+
run: cargo test --verbose --all-features -p nyquest-backend-reqwest
2327
- name: Run clippy
2428
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
2529
- name: Run rustfmt
2630
run: cargo fmt --all --check
2731

32+
test-windows:
33+
runs-on: windows-latest
34+
35+
steps:
36+
- uses: actions/checkout@v4
37+
- name: Build
38+
run: cargo build --verbose --all-features
39+
- name: Run backend/curl tests
40+
run: cargo test --verbose --all-features -p nyquest-backend-curl
41+
- name: Run backend/winrt tests
42+
run: cargo test --verbose --all-features -p nyquest-backend-winrt
43+
- name: Run backend/winhttp tests
44+
run: cargo test --verbose --all-features -p nyquest-backend-winhttp
45+
46+
test-macos:
47+
runs-on: macos-latest
48+
49+
steps:
50+
- uses: actions/checkout@v4
51+
- name: Build
52+
run: cargo build --verbose --all-features
53+
- name: Run backend/curl tests
54+
run: cargo test --verbose --all-features -p nyquest-backend-curl
55+
- name: Run backend/nsurlsession tests
56+
run: cargo test --verbose --all-features -p nyquest-backend-nsurlsession
57+
2858
test-wasm:
2959
runs-on: ubuntu-latest
3060
steps:

0 commit comments

Comments
 (0)