mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-04 16:53:54 -04:00
[misc] update solution to VS2022
* Also fix a possible mishandling of compounded strings in safe string macros
This commit is contained in:
parent
1de1c2a94a
commit
f5072e45de
17 changed files with 111 additions and 105 deletions
6
.github/workflows/codeql.yml
vendored
6
.github/workflows/codeql.yml
vendored
|
@ -33,7 +33,7 @@ env:
|
|||
|
||||
jobs:
|
||||
CodeQL-Build:
|
||||
runs-on: windows-latest
|
||||
runs-on: windows-2022
|
||||
|
||||
permissions:
|
||||
security-events: write
|
||||
|
@ -48,7 +48,9 @@ jobs:
|
|||
languages: cpp
|
||||
|
||||
- name: Add MSBuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
with:
|
||||
msbuild-architecture: x64
|
||||
|
||||
- name: Build
|
||||
run: msbuild ${{env.SOLUTION_FILE_PATH}} /m /p:Configuration=${{ env.BUILD_CONFIGURATION}},Platform=${{ env.TARGET_PLATFORM }}
|
||||
|
|
6
.github/workflows/coverity.yml
vendored
6
.github/workflows/coverity.yml
vendored
|
@ -23,7 +23,7 @@ env:
|
|||
|
||||
jobs:
|
||||
Coverity-Build:
|
||||
runs-on: windows-latest
|
||||
runs-on: windows-2022
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
@ -44,7 +44,9 @@ jobs:
|
|||
run: echo "${{github.workspace}}/cov-analysis-win64/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Add MSBuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
with:
|
||||
msbuild-architecture: x64
|
||||
|
||||
- name: Build with Coverity
|
||||
run: cov-build.exe --dir cov-int msbuild ${{ env.SOLUTION_FILE_PATH }} /m /p:Configuration=${{ env.BUILD_CONFIGURATION }},Platform=${{ env.TARGET_PLATFORM }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
name: VS2019
|
||||
name: VS2022
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -30,8 +30,8 @@ env:
|
|||
BUILD_CONFIGURATION: Release
|
||||
|
||||
jobs:
|
||||
VS2019-Build:
|
||||
runs-on: windows-latest
|
||||
VS2022-Build:
|
||||
runs-on: windows-2022
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -45,7 +45,9 @@ jobs:
|
|||
submodules: recursive
|
||||
|
||||
- name: Add MSBuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
with:
|
||||
msbuild-architecture: x64
|
||||
|
||||
- name: Set ALPHA
|
||||
id: set_alpha
|
Loading…
Add table
Add a link
Reference in a new issue