Skip to content

Commit 3d5452d

Browse files
committed
Don't pass --all-features
1 parent 50fd669 commit 3d5452d

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
run: cargo install sludge-cicd --debug
3232

3333
- name: Run CI/CD
34-
run: sludge-cicd --all-features
34+
run: sludge-cicd
35+
env:
36+
CICD_SKIP_DOCS: 1
3537

3638
build:
3739
name: Build only
@@ -59,7 +61,8 @@ jobs:
5961
- name: Build the library
6062
run: |
6163
cargo build --target ${{ matrix.target }}
62-
cargo build --target ${{ matrix.target }} --all-features
64+
cargo build --target ${{ matrix.target }} --features tokio
65+
cargo build --target ${{ matrix.target }} --features async-io
6366
6467
freebsd:
6568
runs-on: ubuntu-latest
@@ -80,7 +83,7 @@ jobs:
8083
rustup target add i686-unknown-freebsd
8184
rustup --version
8285
rustc --version
83-
cargo test --all-features
86+
cargo test
8487
8588
ci:
8689
name: CI
@@ -111,7 +114,9 @@ jobs:
111114
run: cargo install sludge-cicd --debug
112115

113116
- name: Run CI
114-
run: sludge-cicd --target ${{ matrix.target }} --all-features
117+
run: sludge-cicd --target ${{ matrix.target }}
118+
env:
119+
CICD_SKIP_DOCS: 1
115120

116121
cd:
117122
name: CD
@@ -136,7 +141,7 @@ jobs:
136141
run: cargo install sludge-cicd --debug
137142

138143
- name: Run CI/CD
139-
run: sludge-cicd --all-features
144+
run: sludge-cicd --features serde,tokio # features for the docs build
140145
env:
141146
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
142147
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)