mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
commit
33ec6dece4
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
|
@ -43,26 +43,12 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
run: |
|
run: |
|
||||||
export CFLAGS="$CFLAGS -Werror"
|
patches=("O_GITSTATUS" "O_NAMEFIRST" "O_RESTOREPREVIEW")
|
||||||
make clean
|
z=$(( 1 << ${#patches[@]} ))
|
||||||
echo "########## O_NAMEFIRST=1 ##########"
|
for ((n=1; n < z; ++n)); do
|
||||||
make O_NAMEFIRST=1
|
for ((i=0; i < ${#patches[@]}; ++i)); do
|
||||||
make clean
|
printf "%s=%d " "${patches[$i]}" "$(( (n & (1 << i)) != 0 ))"
|
||||||
echo "########## O_GITSTATUS=1 ##########"
|
done | tee "tmp" ; echo
|
||||||
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
|
make clean
|
||||||
|
xargs make <"tmp"
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in a new issue