-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (31 loc) · 951 Bytes
/
build.yml
File metadata and controls
42 lines (31 loc) · 951 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
name: Build Solution
on:
pull_request:
branches: [ "master" ]
env:
BUILD_CONFIGURATION: Release
PLATFORM: x64
UPLOAD_PATH: '${{ github.workspace }}/examplelib/bin/Release'
build: '${{ github.workspace }}'
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup-msbuild
uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: 'x64'
- name: BUILD SOLUTION
run: |
msbuild CwAPI3D.Net.Bridge.sln /p:Configuration=${{ env.BUILD_CONFIGURATION }} /p:Platform=${{ env.PLATFORM }}
# - name: Test
# run: dotnet test ./CWAPI3D_UnitTest/CWAPI3D_UnitTest.csproj --no-restore --verbosity normal
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: CwAPI3D.Net.Bridge
path: ${{ env.UPLOAD_PATH }}