mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
Build on action with mostly features enabled
This commit is contained in:
18
.github/workflows/build-and-test.yml
vendored
18
.github/workflows/build-and-test.yml
vendored
@@ -24,6 +24,12 @@ jobs:
|
||||
~/.cargo/git
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
- name: Build & Test (Default)
|
||||
run: cargo test --verbose --no-fail-fast
|
||||
- name: Build & Test (--no-default-feature)
|
||||
run: cargo test --verbose --no-default-feature --no-fail-fast
|
||||
- name: Build with All Features Enabled
|
||||
run: cargo build --verbose --features "local-redir local-dns local-http-rustls dns-over-tls dns-over-https"
|
||||
|
||||
build-windows:
|
||||
runs-on: windows-latest
|
||||
@@ -37,6 +43,12 @@ jobs:
|
||||
~/.cargo/git
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
- name: Build & Test (Default)
|
||||
run: cargo test --verbose --no-fail-fast
|
||||
- name: Build & Test (--no-default-feature)
|
||||
run: cargo test --verbose --no-default-feature --no-fail-fast
|
||||
- name: Build with All Features Enabled
|
||||
run: cargo build --verbose --features "local-dns local-http-rustls dns-over-tls dns-over-https"
|
||||
|
||||
build-macos:
|
||||
runs-on: macos-latest
|
||||
@@ -55,3 +67,9 @@ jobs:
|
||||
~/.cargo/git
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
- name: Build & Test (Default)
|
||||
run: cargo test --verbose --no-fail-fast
|
||||
- name: Build & Test (--no-default-feature)
|
||||
run: cargo test --verbose --no-default-feature --no-fail-fast
|
||||
- name: Build with All Features Enabled
|
||||
run: cargo build --verbose --features "local-redir local-dns local-http-rustls dns-over-tls dns-over-https"
|
||||
|
||||
Reference in New Issue
Block a user