Add patch conflict workflow

This commit is contained in:
Luuk van Baal 2022-05-30 01:01:46 +02:00
parent d618922177
commit 0095948d8d
No known key found for this signature in database
GPG Key ID: E7D1BC845D39FA83
1 changed files with 31 additions and 0 deletions

View 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