-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (30 loc) · 1.04 KB
/
windows-gh-compile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: .NET
on:
push:
branches: [ workflow-test ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Add NuGet to PATH
uses: nuget/setup-nuget@v1
- name: Install dependencies
run: nuget install Grasshopper -OutputDirectory ./lib/GH -source https://api.nuget.org/v3/index.json
- name: Download dependency lib. LibIGL, Eigen
run: |
git clone https://github.com/libigl/libigl.git ./external/libigl
git clone https://gitlab.com/libeigen/eigen.git ./external/eigen
set ILink_LibraryPath="./external/libigl/include;./external/eigen"
- name: Vcpkg
run: |
vcpkg install ligigl,eigen3
vcpkg integrate install
- name: Build
run: msbuild
# run: msbuild /p:IncludePath="./external/libigl/include"
#run: msbuild /p:IncludePath="external/eigen;external/libigl/include"