]> Sergey Matveev's repositories - nnn.git/commitdiff
attempt at fixing macos CI
authorNRK <nrk@disroot.org>
Tue, 10 Jan 2023 08:01:46 +0000 (14:01 +0600)
committerNRK <nrk@disroot.org>
Tue, 10 Jan 2023 08:19:00 +0000 (14:19 +0600)
.github/workflows/ci.yml

index 667c40aa3a9769f5c021b3cef88299abfee85360..38f5dba1bf4712022007378f0779c9648243bf96 100644 (file)
@@ -27,9 +27,10 @@ jobs:
         env:
           CC: clang
         run: |
-          rm '/usr/local/bin/2to3-3.11'
-          brew update
-          brew install llvm
+          # see: https://github.com/actions/setup-python/issues/577
+          brew update || true
+          brew install llvm || true
+          brew link --overwrite python@3.11
           export PATH="/usr/local/opt/llvm/bin:$PATH"
           export CFLAGS="$CFLAGS -Werror"
           make clean