Skip to content

Commit d798544

Browse files
committed
Add src-build feature.
1 parent dc566a2 commit d798544

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
key: ${{ runner.os }}-target-${{ hashFiles('**/Cargo.lock') }}
3838

3939
- name: Run tests
40-
run: cargo test --all-features --workspace
40+
run: cargo test -F glfw/src-build -F glfw/static-link --workspace
4141

4242
fmt:
4343
name: Format
@@ -81,7 +81,7 @@ jobs:
8181
key: ${{ runner.os }}-clippy-target-${{ hashFiles('**/Cargo.lock') }}
8282

8383
- name: Run clippy
84-
run: cargo clippy --all-features --workspace -- -D warnings
84+
run: cargo clippy -F glfw/src-build -F glfw/static-link --workspace -- -D warnings
8585

8686
build:
8787
name: Build
@@ -110,4 +110,4 @@ jobs:
110110
key: ${{ runner.os }}-build-target-${{ hashFiles('**/Cargo.lock') }}
111111

112112
- name: Build
113-
run: cargo build --all-features --workspace --verbose
113+
run: cargo build -F glfw/src-build -F glfw/static-link --workspace --verbose

0 commit comments

Comments
 (0)