Skip to content

Commit 80dda56

Browse files
committed
Try
1 parent 79f1716 commit 80dda56

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build_natives.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,26 @@ jobs:
3434
with:
3535
name: lib${{ env.LIB_NAME }}.so
3636
path: rust_wrapper/target/release/lib${{ env.LIB_NAME }}.so
37+
38+
build-windows:
39+
runs-on: windows-latest
40+
steps:
41+
- uses: actions/checkout@v4
42+
with:
43+
submodules: 'recursive'
44+
repository: ${{ env.REPOSITORY }}
45+
ref: v${{ inputs.natives-lib-version }}
46+
- name: Install Eigen
47+
shell: bash
48+
run: |
49+
vcpkg install eigen3:x64-windows
50+
- name: Build
51+
shell: bash
52+
run: |
53+
cmake -G "Visual Studio 17 2022" -S ./ -B ./build
54+
cmake --build ./build --config Release --target ALL_BUILD
55+
- name: Upload library
56+
uses: actions/upload-artifact@v4
57+
with:
58+
name: ${{ env.LIB_NAME }}.dll
59+
path: rust_wrapper/target/release/${{ env.LIB_NAME }}.dll

0 commit comments

Comments
 (0)