]> Sergey Matveev's repositories - nnn.git/commitdiff
Add patch conflict workflow
authorLuuk van Baal <luukvbaal@gmail.com>
Sun, 29 May 2022 23:01:46 +0000 (01:01 +0200)
committerLuuk van Baal <luukvbaal@gmail.com>
Sun, 29 May 2022 23:01:46 +0000 (01:01 +0200)
.github/workflows/ci.yml

index 3d535c3d542808d6ebda780dbca2292a10cce010..9394e0c6cb4808362468f2aaacf46c293b7f5de8 100644 (file)
@@ -35,3 +35,34 @@ jobs:
           make
           make clean
           clang-tidy src/* -- -I/usr/include
+  macOS-patches:
+    runs-on: macOS-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Compile patches with gcc
+        env:
+          CC: gcc
+        run: |
+          export CFLAGS="$CFLAGS -Werror"
+          make clean
+          echo "########## O_NAMEFIRST=1 ##########"
+          make O_NAMEFIRST=1
+          make clean
+          echo "########## O_GITSTATUS=1 ##########"
+          make O_GITSTATUS=1
+          make clean
+          echo "########## O_RESTOREPREVIEW=1 ##########"
+          make O_RESTOREPREVIEW=1
+          make clean
+          echo "########## O_NAMEFIRST=1 O_GITSTATUS=1 ##########"
+          make O_NAMEFIRST=1 O_GITSTATUS=1
+          make clean
+          echo "########## O_NAMEFIRST=1 O_RESTOREPREVIEW=1 ##########"
+          make O_NAMEFIRST=1 O_RESTOREPREVIEW=1
+          make clean
+          echo "########## O_GITSTATUS=1 O_RESTOREPREVIEW=1 ##########"
+          make O_GITSTATUS=1 O_RESTOREPREVIEW=1
+          make clean
+          echo "########## O_NAMEFIRST=1 O_GITSTATUS=1 O_RESTOREPREVIEW=1 ##########"
+          make O_NAMEFIRST=1 O_GITSTATUS=1 O_RESTOREPREVIEW=1
+          make clean