CI: Fix missing dependencies for macOS and Windows.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 22 Jan 2022 22:26:50 +0000 (23:26 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 24 Jan 2022 00:07:54 +0000 (01:07 +0100)
Clang-tidy doesn't like the latest OpenSSL libraries available in Brew,
so disable the clang-tidy test on macOS for now.

.ci/deps.sh
.github/workflows/test.yml

index 096f993..6fdd47f 100755 (executable)
@@ -89,7 +89,7 @@ deps_linux() {
 }
 
 deps_macos() {
-  brew install coreutils netcat automake lzo lz4 miniupnpc libgcrypt "$@"
+  brew install coreutils netcat automake lzo lz4 miniupnpc libgcrypt openssl "$@"
   pip3 install --user compiledb
 }
 
index db279cf..be2401f 100644 (file)
@@ -259,11 +259,6 @@ jobs:
       - name: Run tests with default settings
         run: sh .ci/test/run.sh default
 
-      - name: Run clang-tidy
-        run: |
-          export PATH="$PATH:$(brew --prefix llvm)/bin:$HOME/Library/Python/3.9/bin"
-          sh .ci/tidy/run.sh
-
       - name: Run tests without legacy protocol
         run: sh .ci/test/run.sh nolegacy
         if: always()
@@ -290,6 +285,8 @@ jobs:
           # https://packages.msys2.org/package/
           install: >-
             base-devel
+            autoconf-wrapper
+            automake-wrapper
             mingw-w64-x86_64-gcc
             mingw-w64-x86_64-openssl
             mingw-w64-x86_64-libgcrypt
@@ -300,7 +297,7 @@ jobs:
             mingw-w64-x86_64-miniupnpc
             mingw-w64-x86_64-nsis
             git
-            netcat
+            openbsd-netcat
             procps
 
       - name: Checkout code