fix: properties window not opening #311
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: Build - Windows - Solution | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths: | |
- 'src/**' | |
- 'source/**' | |
- 'cmake/**' | |
- 'CMakeLists.txt' | |
- 'CMakePresets.json' | |
- 'vcpkg.json' | |
- 'vcproj/**' | |
push: | |
paths: | |
- 'src/**' | |
- 'source/**' | |
- 'cmake/**' | |
- 'CMakeLists.txt' | |
- 'CMakePresets.json' | |
- 'vcpkg.json' | |
- 'vcproj/**' | |
branches: | |
- main | |
jobs: | |
job: | |
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} | |
name: ${{ matrix.os }}-${{ matrix.buildtype }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-2022] | |
buildtype: [Release, Debug] | |
include: | |
- os: windows-2022 | |
triplet: x64-windows | |
packages: > | |
sccache | |
steps: | |
- name: Cancel Previous Runs | |
if: github.ref != 'refs/heads/main' | |
uses: fkirc/skip-duplicate-actions@master | |
with: | |
concurrent_skipping: 'same_content' | |
cancel_others: true | |
- name: Setup MSBuild.exe | |
uses: microsoft/[email protected] | |
- name: Checkout repository | |
uses: actions/checkout@main | |
- name: Install vcpkg | |
run: | | |
git clone https://github.com/Microsoft/vcpkg.git | |
cd vcpkg | |
./bootstrap-vcpkg.bat | |
./vcpkg integrate install | |
- name: Build project | |
run: msbuild.exe /p:VcpkgEnableManifest=true /p:Configuration=Release /p:Platform=x64 /p:VcpkgRoot=$env:GITHUB_WORKSPACE/vcpkg vcproj/RME.sln | |
- name: Upload artifacts | |
uses: actions/upload-artifact@main | |
with: | |
name: ${{ matrix.os }}-${{ matrix.buildtype }} | |
path: | | |
${{ github.workspace }}/vcproj/x64/${{ matrix.buildtype }}/ |