Windows CI.

This commit is contained in:
Nuno Cruces
2024-08-09 10:19:48 +01:00
parent eea6aa7493
commit 7cb974fd9a
3 changed files with 9 additions and 2 deletions

View File

@@ -16,8 +16,12 @@ cp "$ROOT"/sqlite3/*.patch build/
curl -# https://www.sqlite.org/src/tarball/sqlite.tar.gz?r=bedrock-3.46 | tar xz
cd sqlite
sh configure
make sqlite3.c
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then
MSYS_NO_PATHCONV=1 nmake /f makefile.msc sqlite3.c
else
sh configure
make sqlite3.c
fi
cd ~-
mv sqlite/sqlite3.c build/