| ... | ... | @@ -7,6 +7,11 @@ pacman --noconfirm --needed -S git base-devel mingw-w64-x86_64-toolchain mingw-w |
| 7 | 7 | |
| 8 | 8 | git config core.abbrev 9 |
| 9 | 9 | |
| 10 | # Git is wrong for autocrlf being enabled by default on Windows. |
| 11 | # git is mangling files on Windows by default. |
| 12 | # This is the second bug I've tracked down to being caused by autocrlf. |
| 13 | git config core.autocrlf false |
| 14 | |
| 10 | 15 | ZIGBUILDDIR="$(pwd)/build" |
| 11 | 16 | PREFIX="$ZIGBUILDDIR/dist" |
| 12 | 17 | CMAKEFLAGS="-DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_INSTALL_PREFIX=$PREFIX -DZIG_STATIC=ON" |
| ... | ... | @@ -18,8 +23,4 @@ cmake .. -G 'MSYS Makefiles' -DCMAKE_BUILD_TYPE=RelWithDebInfo $CMAKEFLAGS -DCMA |
| 18 | 23 | |
| 19 | 24 | make -j$(nproc) install |
| 20 | 25 | |
| 21 | | # I saw a failure due to `git diff` being > 400 KB instead of empty as expected so this is to debug it. |
| 22 | | git status |
| 23 | | git diff | head -n100 |
| 24 | | |
| 25 | 26 | ./zig build test-behavior -Dskip-non-native -Dskip-release |