Skip to content

Commit

Permalink
New versions of VisualStudio/Xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Feb 25, 2022
1 parent 986bd25 commit 959c8f3
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
xcode: ['11', '12']
xcode: ['11', '12', '13']
build_type: [Debug, Release]

runs-on: macos-latest
Expand Down
54 changes: 52 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,32 @@ on:
- 'doc/**'

jobs:
vs2019:
vs2022:
strategy:
fail-fast: false
matrix:
build_type: [Debug, Release]

runs-on: windows-latest

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- run: cmake -E make_directory build

- shell: bash
working-directory: build/
run: cmake $GITHUB_WORKSPACE -G "Visual Studio 17 2022"

- working-directory: build/
run: cmake --build . --config ${{ matrix.build_type }}

- working-directory: build/
run: ctest -C ${{ matrix.build_type }} --output-on-failure

vs2022-clang:
strategy:
fail-fast: false
matrix:
Expand All @@ -26,6 +51,31 @@ jobs:

- run: cmake -E make_directory build

- shell: bash
working-directory: build/
run: cmake $GITHUB_WORKSPACE -G "Visual Studio 17 2022" -T ClangCL

- working-directory: build/
run: cmake --build . --config ${{ matrix.build_type }}

- working-directory: build/
run: ctest -C ${{ matrix.build_type }} --output-on-failure

vs2019:
strategy:
fail-fast: false
matrix:
build_type: [Debug, Release]

runs-on: windows-2019

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- run: cmake -E make_directory build

- shell: bash
working-directory: build/
run: cmake $GITHUB_WORKSPACE -G "Visual Studio 16 2019"
Expand All @@ -42,7 +92,7 @@ jobs:
matrix:
build_type: [Debug, Release]

runs-on: windows-latest
runs-on: windows-2019

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 959c8f3

Please sign in to comment.