Add multiple MSVC version builds and tests

This commit is contained in:
christophe 2023-12-25 20:01:45 +01:00
parent 8e2bdd1fdb
commit 2068d57bcd

View File

@ -3,8 +3,8 @@ run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: on:
push: push:
pull_request: pull_request_target:
types: [opened] types: [opened, edited, reopened]
jobs: jobs:
windows-latest: windows-latest:
@ -12,6 +12,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
toolset: [14.3, 15.9, 16.8]
std: [98, 11, 14, 17, 20] std: [98, 11, 14, 17, 20]
config: [Debug, Release] config: [Debug, Release]
@ -27,6 +28,9 @@ jobs:
run: | run: |
ls ${{ github.workspace }} ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."
- uses: TheMrMilchmann/setup-msvc-dev@v3
with:
toolset: ${{matrix.toolset}}
- name: CMake Version - name: CMake Version
run: cmake --version run: cmake --version
- run: cmake -S. -B ./build_auto - run: cmake -S. -B ./build_auto