mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-27 18:02:58 +01:00
Run tests for all features as possible (#78)
This commit is contained in:
parent
0d3f9e74c5
commit
b1430eaded
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
@ -2,6 +2,9 @@ name: CI
|
|||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
env:
|
||||||
|
VCPKGRS_DYNAMIC: 1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_test:
|
build_and_test:
|
||||||
strategy:
|
strategy:
|
||||||
@ -18,10 +21,12 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- toolchain: x86_64-pc-windows-msvc
|
- toolchain: x86_64-pc-windows-msvc
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
|
arch: x64
|
||||||
- toolchain: x86_64-pc-windows-gnu
|
- toolchain: x86_64-pc-windows-gnu
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
- toolchain: i686-pc-windows-msvc
|
- toolchain: i686-pc-windows-msvc
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
|
arch: x86
|
||||||
- toolchain: x86_64-apple-darwin
|
- toolchain: x86_64-apple-darwin
|
||||||
os: macOS-latest
|
os: macOS-latest
|
||||||
|
|
||||||
@ -37,6 +42,13 @@ jobs:
|
|||||||
toolchain: ${{ matrix.version }}-${{ matrix.toolchain }}
|
toolchain: ${{ matrix.version }}-${{ matrix.toolchain }}
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
|
|
||||||
|
- name: Install OpenSSL
|
||||||
|
if: matrix.toolchain == 'x86_64-pc-windows-msvc' || matrix.toolchain == 'i686-pc-windows-msvc'
|
||||||
|
run: |
|
||||||
|
vcpkg integrate install
|
||||||
|
vcpkg install openssl:${{ matrix.arch }}-windows
|
||||||
|
|
||||||
- name: check nightly
|
- name: check nightly
|
||||||
if: matrix.version == 'nightly'
|
if: matrix.version == 'nightly'
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
@ -52,6 +64,14 @@ jobs:
|
|||||||
args: --all --bins --examples --tests
|
args: --all --bins --examples --tests
|
||||||
|
|
||||||
- name: tests
|
- name: tests
|
||||||
|
if: matrix.toolchain != 'x86_64-pc-windows-gnu'
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: test
|
||||||
|
args: --all --all-features -- --nocapture
|
||||||
|
|
||||||
|
- name: tests on x86_64-pc-windows-gnu
|
||||||
|
if: matrix.toolchain == 'x86_64-pc-windows-gnu'
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
|
Loading…
Reference in New Issue
Block a user