Skip to content

Commit 7cb974f

Browse files
committed
Windows CI.
1 parent eea6aa7 commit 7cb974f

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/repro.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
19+
- uses: ilammy/msvc-dev-cmd@v1
1920
- uses: actions/checkout@v4
2021
- uses: actions/setup-go@v5
2122
with: { go-version: stable }
2223

2324
- name: Build
25+
shell: bash
2426
run: .github/workflows/repro.sh
2527

2628
- uses: actions/attest-build-provenance@v1

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
if: matrix.os == 'ubuntu-latest'
5858

5959
- name: Test GORM
60+
shell: bash
6061
run: gormlite/test.sh
6162

6263
- name: Collect coverage

embed/bcw2/build.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ cp "$ROOT"/sqlite3/*.patch build/
1616
curl -# https://www.sqlite.org/src/tarball/sqlite.tar.gz?r=bedrock-3.46 | tar xz
1717

1818
cd sqlite
19-
sh configure
20-
make sqlite3.c
19+
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then
20+
MSYS_NO_PATHCONV=1 nmake /f makefile.msc sqlite3.c
21+
else
22+
sh configure
23+
make sqlite3.c
24+
fi
2125
cd ~-
2226

2327
mv sqlite/sqlite3.c build/

0 commit comments

Comments
 (0)