Yujia Qiao 4 лет назад
Родитель
Сommit
b173b9e22a
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      .github/workflows/rust.yml

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

@@ -26,5 +26,10 @@ jobs:
       run: cargo clippy
       run: cargo clippy
     - name: Build
     - name: Build
       run: cargo build --verbose
       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
     - name: Run tests
       run: cargo test --verbose
       run: cargo test --verbose