Skip to content

Commit 26e8174

Browse files
committed
Windows environment varirables
1 parent 08705ab commit 26e8174

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/windows.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
pull_request:
4-
name: "linux"
4+
name: "windows"
55
jobs:
66
build_windows:
77
name: Building Windows
@@ -28,9 +28,15 @@ jobs:
2828
shell: bash
2929
run: choco install make
3030

31+
- name: Set Windows environment variables
32+
shell: pwsh
33+
run: |
34+
echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
35+
echo "OPENSSL_SRC_PERL=C:/Strawberry/perl/bin/perl" >> $env:GITHUB_ENV
36+
3137
- name: Setup
3238
run: |
33-
cargo build -p powersync_loadable --release
39+
cargo build -p powersync_loadable --release --target x86_64-pc-windows-msvc -Zbuild-std -v
3440
mv "target/release/libpowersync.dll" "libpowersync_x64.dll"
3541
3642
- name: Upload binary

0 commit comments

Comments
 (0)