diff --git a/.github/workflows/ci_msw.yml b/.github/workflows/ci_msw.yml index bcaef8be85..13407e3a34 100644 --- a/.github/workflows/ci_msw.yml +++ b/.github/workflows/ci_msw.yml @@ -44,13 +44,15 @@ on: jobs: msw-vs2019: runs-on: windows-2019 - name: wxMSW vs2019 ${{ matrix.configuration }}/${{ matrix.platform }} + name: wxMSW vs2019 ${{ matrix.configuration }} ${{ matrix.platform }} strategy: fail-fast: false matrix: include: - configuration: 'Debug' platform: 'Win32' + - configuration: 'DLL Release' + platform: 'x64' steps: - name: Checkout @@ -63,15 +65,20 @@ jobs: - name: Build run: | - msbuild /noLogo /m /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} build\msw\wx_vc16.sln + msbuild /noLogo /m '/p:Configuration=${{ matrix.configuration }}' /p:Platform=${{ matrix.platform }} build\msw\wx_vc16.sln + if ( '${{ matrix.configuration }}'.IndexOf('DLL') -ne -1 ) { + $dlldir = Join-Path (Get-Location) 'lib\vc_${{ matrix.platform }}_dll' + Write-Output "Adding $dlldir to the PATH" + $dlldir | Out-File -Append $env:GITHUB_PATH + } - name: Build minimal sample run: | - msbuild /noLogo /m /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} samples\minimal\minimal_vc16.sln + msbuild /noLogo /m '/p:Configuration=${{ matrix.configuration }}' /p:Platform=${{ matrix.platform }} samples\minimal\minimal_vc16.sln - name: Build tests run: | - msbuild /noLogo /m /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} tests\test_vc16.sln + msbuild /noLogo /m '/p:Configuration=${{ matrix.configuration }}' /p:Platform=${{ matrix.platform }} tests\test_vc16.sln - name: Run tests working-directory: tests @@ -80,7 +87,7 @@ jobs: - name: Build GUI tests run: | - msbuild /noLogo /m /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} tests\test_gui_vc16.sln + msbuild /noLogo /m '/p:Configuration=${{ matrix.configuration }}' /p:Platform=${{ matrix.platform }} tests\test_gui_vc16.sln - name: Run GUI tests working-directory: tests