Skip to content

Commit

Permalink
CI: update to VS2022 and macOS 14 for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aras-p committed Feb 21, 2024
1 parent d3f3a4b commit 118973e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ on:

jobs:
windows:
runs-on: windows-2019
runs-on: windows-2022
timeout-minutes: 5
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v1
- name: Windows VS2019
- name: Windows VS2022
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && msbuild.exe projects/vs2019/ClangBuildAnalyzer.sln /p:Configuration=Debug /p:CL_MPCount=2
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && msbuild.exe projects/vs2019/ClangBuildAnalyzer.sln /p:Configuration=Release /p:CL_MPCount=2
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && msbuild.exe projects/vs2019/ClangBuildAnalyzer.sln /p:Configuration=Debug /p:CL_MPCount=2
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && msbuild.exe projects/vs2019/ClangBuildAnalyzer.sln /p:Configuration=Release /p:CL_MPCount=2
build\ClangBuildAnalyzer.exe --test tests
shell: cmd
- uses: actions/upload-artifact@v1
Expand All @@ -26,13 +26,13 @@ jobs:
path: build/ClangBuildAnalyzer.exe

mac:
runs-on: macOS-latest
runs-on: macos-14
timeout-minutes: 5
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v1
- name: macOS Xcode 14
- name: macOS Xcode 15
run: |
xcodebuild -project projects/xcode/ClangBuildAnalyzer.xcodeproj -configuration Debug build
xcodebuild -project projects/xcode/ClangBuildAnalyzer.xcodeproj -configuration Release build
Expand Down

0 comments on commit 118973e

Please sign in to comment.