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,11 +16,13 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: ilammy/msvc-dev-cmd@v1
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with: { go-version: stable }
- name: Build
shell: bash
run: .github/workflows/repro.sh
- uses: actions/attest-build-provenance@v1

View File

@@ -57,6 +57,7 @@ jobs:
if: matrix.os == 'ubuntu-latest'
- name: Test GORM
shell: bash
run: gormlite/test.sh
- name: Collect coverage

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/