-
Notifications
You must be signed in to change notification settings - Fork 3
46 lines (37 loc) · 1.27 KB
/
test_features.yml
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
39
40
41
42
43
44
45
46
name: Test Features
on:
workflow_dispatch:
push:
branches: [ "tokio" ]
paths-ignore:
- '**.md'
- '.github/workflows/*.yml'
- '**/Makefile'
- '**/Cross.toml'
pull_request:
branches: [ "tokio" ]
paths-ignore:
- '**.md'
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
jobs:
test_features:
strategy:
matrix:
platform:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-hack
- name: Build
run: cargo build --verbose
- name: Test Ruci Every feature tag
run: cargo hack check --feature-powerset --no-dev-deps
- name: Test Rucimp Every feature tag
run: cd rucimp && cargo hack check --feature-powerset --no-dev-deps --mutually-exclusive-features lua54,lua --mutually-exclusive-features quic,quinn --mutually-exclusive-features use-native-tls,native-tls-vendored
- name: Test Ruci-Cmd Every feature tag
run: cd crates/ruci-cmd && cargo hack check --feature-powerset --no-dev-deps --mutually-exclusive-features lua54,lua --mutually-exclusive-features quic,quinn --mutually-exclusive-features use-native-tls,native-tls-vendored