Skip to content

Commit 08705ab

Browse files
committed
Test windows build
1 parent 649ed50 commit 08705ab

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/windows.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
on:
2+
push:
3+
pull_request:
4+
name: "linux"
5+
jobs:
6+
build_windows:
7+
name: Building Windows
8+
runs-on: windows-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
submodules: true
13+
14+
- name: Install Rust Nightly
15+
uses: dtolnay/rust-toolchain@stable
16+
with:
17+
toolchain: nightly-2024-05-18
18+
components: rust-src
19+
targets: x86_64-pc-windows-msvc
20+
21+
- name: Install Perl
22+
uses: shogo82148/actions-setup-perl@v1
23+
with:
24+
distribution: strawberry
25+
perl-version: "5.32"
26+
27+
- name: Install make with Chocolatey
28+
shell: bash
29+
run: choco install make
30+
31+
- name: Setup
32+
run: |
33+
cargo build -p powersync_loadable --release
34+
mv "target/release/libpowersync.dll" "libpowersync_x64.dll"
35+
36+
- name: Upload binary
37+
uses: svenstaro/upload-release-action@v2
38+
with:
39+
repo_token: ${{ secrets.GITHUB_TOKEN }}
40+
overwrite: true
41+
file: libpowersync_x64.dll
42+
asset_name: libpowersync_x64.dll
43+
tag: v0.1.6

0 commit comments

Comments
 (0)