Another. #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- 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: bash | |
run: | | |
echo "Qt_INCLUDEPATH_=$QT_ROOT_DIR/include" >> "$GITHUB_ENV" | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v1.1 | |
- name: Build the lib in release mode | |
shell: pwsh | |
run: | | |
MSBuild.exe QtRenderingWidget_RPFM.sln -m -t:Build -p:Configuration=Debug -p:Platform=x64 | |
MSBuild.exe QtRenderingWidget_RPFM.sln -m -t:Build -p:Configuration=Release -p:Platform=x64 |