-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
719 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,22 +32,22 @@ jobs: | |
|
||
- name: Install OpenSSL | ||
if: matrix.target.os == 'windows-latest' | ||
run: choco install openssl -y --forcex64 --no-progress | ||
- name: Set OpenSSL dir in env | ||
if: matrix.target.os == 'windows-latest' | ||
shell: bash | ||
run: | | ||
echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append | ||
echo 'OPENSSL_DIR=C:\Program Files\OpenSSL' | Out-File -FilePath $env:GITHUB_ENV -Append | ||
set -e | ||
choco install openssl --version=1.1.1.2100 -y --no-progress | ||
echo 'OPENSSL_DIR=C:\Program Files\OpenSSL' >> $GITHUB_ENV | ||
echo "RUSTFLAGS=-C target-feature=+crt-static" >> $GITHUB_ENV | ||
- name: Install Rust (${{ matrix.version.name }}) | ||
uses: actions-rust-lang/[email protected] | ||
with: | ||
toolchain: ${{ matrix.version.version }} | ||
|
||
- name: Install cargo-hack | ||
- name: Install cargo-hack and cargo-ci-cache-clean | ||
uses: taiki-e/[email protected] | ||
with: | ||
tool: cargo-hack | ||
tool: cargo-hack,cargo-ci-cache-clean | ||
|
||
- name: check minimal | ||
run: cargo ci-check-min | ||
|
@@ -57,10 +57,12 @@ jobs: | |
|
||
- name: tests | ||
timeout-minutes: 60 | ||
shell: bash | ||
run: | | ||
set -e | ||
cargo test --lib --tests -p=actix-router --all-features | ||
cargo test --lib --tests -p=actix-http --all-features | ||
cargo test --lib --tests -p=actix-web --features=rustls-0_20,rustls-0_21,openssl -- --skip=test_reading_deflate_encoding_large_random_rustls | ||
cargo test --lib --tests -p=actix-web --features=rustls-0_20,rustls-0_21,rustls-0_22,openssl -- --skip=test_reading_deflate_encoding_large_random_rustls | ||
cargo test --lib --tests -p=actix-web-codegen --all-features | ||
cargo test --lib --tests -p=awc --all-features | ||
cargo test --lib --tests -p=actix-http-test --all-features | ||
|
@@ -69,11 +71,6 @@ jobs: | |
cargo test --lib --tests -p=actix-multipart --all-features | ||
cargo test --lib --tests -p=actix-web-actors --all-features | ||
- name: Install cargo-ci-cache-clean | ||
uses: taiki-e/[email protected] | ||
with: | ||
tool: cargo-ci-cache-clean | ||
|
||
- name: CI cache clean | ||
run: cargo-ci-cache-clean | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,22 +37,22 @@ jobs: | |
|
||
- name: Install OpenSSL | ||
if: matrix.target.os == 'windows-latest' | ||
run: choco install openssl -y --forcex64 --no-progress --version=3.2.1 | ||
- name: Set OpenSSL dir in env | ||
if: matrix.target.os == 'windows-latest' | ||
shell: bash | ||
run: | | ||
echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append | ||
echo 'OPENSSL_DIR=C:\Program Files\OpenSSL' | Out-File -FilePath $env:GITHUB_ENV -Append | ||
set -e | ||
choco install openssl --version=1.1.1.2100 -y --no-progress | ||
echo 'OPENSSL_DIR=C:\Program Files\OpenSSL' >> $GITHUB_ENV | ||
echo "RUSTFLAGS=-C target-feature=+crt-static" >> $GITHUB_ENV | ||
- name: Install Rust (${{ matrix.version.name }}) | ||
uses: actions-rust-lang/[email protected] | ||
with: | ||
toolchain: ${{ matrix.version.version }} | ||
|
||
- name: Install cargo-hack | ||
- name: Install cargo-hack and cargo-ci-cache-clean | ||
uses: taiki-e/[email protected] | ||
with: | ||
tool: cargo-hack | ||
tool: cargo-hack,cargo-ci-cache-clean | ||
|
||
- name: workaround MSRV issues | ||
if: matrix.version.name == 'msrv' | ||
|
@@ -71,10 +71,12 @@ jobs: | |
|
||
- name: tests | ||
timeout-minutes: 60 | ||
shell: bash | ||
run: | | ||
set -e | ||
cargo test --lib --tests -p=actix-router --all-features | ||
cargo test --lib --tests -p=actix-http --all-features | ||
cargo test --lib --tests -p=actix-web --features=rustls-0_20,rustls-0_21,openssl -- --skip=test_reading_deflate_encoding_large_random_rustls | ||
cargo test --lib --tests -p=actix-web --features=rustls-0_20,rustls-0_21,rustls-0_22,openssl -- --skip=test_reading_deflate_encoding_large_random_rustls | ||
cargo test --lib --tests -p=actix-web-codegen --all-features | ||
cargo test --lib --tests -p=awc --all-features | ||
cargo test --lib --tests -p=actix-http-test --all-features | ||
|
@@ -83,11 +85,6 @@ jobs: | |
cargo test --lib --tests -p=actix-multipart --all-features | ||
cargo test --lib --tests -p=actix-web-actors --all-features | ||
- name: Install cargo-ci-cache-clean | ||
uses: taiki-e/[email protected] | ||
with: | ||
tool: cargo-ci-cache-clean | ||
|
||
- name: CI cache clean | ||
run: cargo-ci-cache-clean | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.