CI: run tests with libgcrypt.
[tinc] / .github / workflows / test.yml
index db67810..39c7dc7 100644 (file)
@@ -10,7 +10,7 @@ on:
 jobs:
   cross:
     runs-on: ubuntu-latest
-    timeout-minutes: 15
+    timeout-minutes: 30
     strategy:
       fail-fast: false
       matrix:
@@ -40,6 +40,9 @@ jobs:
       - name: Run tests without legacy protocol
         run: sudo -u build CI=1 HOST=${{ matrix.arch }} sh .ci/test/run.sh nolegacy
 
+      - name: Run tests with libgcrypt
+        run: sudo -u build CI=1 HOST=${{ matrix.arch }} sh .ci/test/run.sh gcrypt
+
       - name: Upload test results
         uses: actions/upload-artifact@v2
         with:
@@ -188,6 +191,9 @@ jobs:
       - name: Run tests without legacy protocol
         run: sudo -u build CI=1 sh .ci/test/run.sh nolegacy
 
+      - name: Run tests with libgcrypt
+        run: sudo -u build CI=1 sh .ci/test/run.sh gcrypt
+
       - name: Upload test results
         uses: actions/upload-artifact@v2
         with:
@@ -244,7 +250,7 @@ jobs:
 
   macos:
     runs-on: macos-latest
-    timeout-minutes: 15
+    timeout-minutes: 20
 
     steps:
       - name: Checkout code
@@ -264,6 +270,9 @@ jobs:
       - name: Run tests without legacy protocol
         run: sh .ci/test/run.sh nolegacy
 
+      - name: Run tests with libgcrypt
+        run: sh .ci/test/run.sh gcrypt
+
       - name: Upload test results
         uses: actions/upload-artifact@v2
         with:
@@ -273,7 +282,7 @@ jobs:
 
   windows:
     runs-on: windows-latest
-    timeout-minutes: 20
+    timeout-minutes: 30
 
     steps:
       - name: Install msys2
@@ -285,6 +294,7 @@ jobs:
             base-devel
             mingw-w64-x86_64-gcc
             mingw-w64-x86_64-openssl
+            mingw-w64-x86_64-libgcrypt
             mingw-w64-x86_64-zlib
             mingw-w64-x86_64-lzo2
             mingw-w64-x86_64-lz4
@@ -317,6 +327,10 @@ jobs:
         shell: msys2 {0}
         run: sh .ci/test/run.sh nolegacy
 
+      - name: Run tests with libgcrypt
+        shell: msys2 {0}
+        run: sh .ci/test/run.sh gcrypt
+
       - name: Upload test results
         uses: actions/upload-artifact@v2
         with: