Prechádzať zdrojové kódy

ci: test crate features

Yujia Qiao 4 rokov pred
rodič
commit
b173b9e22a
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 5 0
      .github/workflows/rust.yml

+ 5 - 0
.github/workflows/rust.yml

@@ -26,5 +26,10 @@ jobs:
       run: cargo clippy
     - name: Build
       run: cargo build --verbose
+    - name: Build with features
+      run: |
+        cargo build --no-default-features --features client,server
+        cargo build --no-default-features --features client,tls
+        cargo build --no-default-features --features server,tls
     - name: Run tests
       run: cargo test --verbose