Skip to content

Commit

Permalink
fix windows CI appempt 11 of ~1000
Browse files Browse the repository at this point in the history
  • Loading branch information
CtrlSpice committed Feb 16, 2025
1 parent 56e6217 commit 2367e47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
- name: Setup DuckDB (Windows)
if: matrix.os == 'windows-latest'
run: |
curl -L -o duckdb.zip https://github.com/duckdb/duckdb/releases/download/v0.9.2/duckdb-windows-amd64.zip
curl -L -o duckdb.zip https://github.com/duckdb/duckdb/releases/download/v0.9.2/duckdb_cli-windows-amd64.zip
unzip duckdb.zip
# Copy files to build directory
copy duckdb.dll desktopcollector\
copy duckdb.lib desktopcollector\
# Copy and rename files to match MinGW expectations
copy duckdb.dll desktopcollector\libduckdb.dll
copy duckdb.lib desktopcollector\libduckdb.a
copy duckdb.h desktopcollector\
# Set environment variables for CGO
echo "CGO_LDFLAGS=-L${PWD}\desktopcollector -lduckdb" >> $env:GITHUB_ENV
Expand Down

0 comments on commit 2367e47

Please sign in to comment.