-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 971 Bytes
/
test.yaml
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
name: Tests
on:
push:
branches: [ master, develop, actions-fix ]
pull_request:
branches: [ master, develop ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: '5.15.2'
host: 'windows'
target: 'desktop'
arch: 'win64_msvc2019_64'
cache: 'true'
- name: Set QT_Includes
shell: pwsh
run: |
echo "QtInclude=D:\a\QtRenderingWidget\Qt\5.15.2\msvc2019_64\include" >> $env:GITHUB_ENV
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
- name: Build the lib in release mode
shell: pwsh
run: |
dotnet restore
MSBuild.exe QtRenderingWidget_RPFM.sln -m -t:Build -p:Configuration=Debug -p:Platform=x64