]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ci: Bump to macOS 11
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 22 Jul 2022 11:08:21 +0000 (13:08 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Fri, 22 Jul 2022 12:02:34 +0000 (14:02 +0200)
The macOS 10.15 runners are being deprecated.

.github/workflows/build.yaml
test/suites/secondary_redis_unix.bash

index f54424b1b423ecf42d13479c7b1fc7b82e745388..fe1e01a4813d135a1522c201cb051c097103b1cf 100644 (file)
@@ -66,11 +66,11 @@ jobs:
             compiler: gcc
             version: "11"
 
-          - os: macOS-10.15
+          - os: macOS-11
             compiler: xcode
             version: "11.7"
 
-          - os: macOS-10.15
+          - os: macOS-11
             compiler: xcode
             version: "12.4"
     steps:
index 3e59853a75f929a56068db18681c581285fb2895..9a6bfa834ca272944289c1d3ec761e283151be1c 100644 (file)
@@ -7,7 +7,7 @@ SUITE_secondary_redis_unix_PROBE() {
         echo "redis-server not found"
         return
     fi
-    if redis-server --unixsocket /foo/redis.sock |& grep -q "FATAL CONFIG FILE ERROR"; then
+    if redis-server --unixsocket /foo/redis.sock 2>&1 | grep -q "FATAL CONFIG FILE ERROR"; then
         # "Bad directive or wrong number of arguments"
         echo "redis-server without unixsocket"
         return