-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 812 Bytes
/
build.yml
File metadata and controls
42 lines (33 loc) · 812 Bytes
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
40
41
42
name: Build on Windows
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
env:
BUILD_TYPE: Release
jobs:
build-windows:
runs-on: windows-2022
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up MSBuild and CMake
uses: microsoft/setup-msbuild@v1.3
- name: Install MSYS2 (Git Bash)
uses: msys2/setup-msys2@v2
with:
update: true
- name: Configure and build C++ wrapper (DLL)
shell: bash
run: |
./build_and_install_flexiv_rdk_dll.sh
- name: Build C# example
run: |
cd csharp
dotnet build build.csproj -c Release
- name: Run C# example
run: |
cd csharp
dotnet run --project build.csproj -c Release