check if requires msvc

This commit is contained in:
Jonathan Guzmán 2023-02-12 17:06:58 -06:00
parent 82ac59d047
commit 43f74ef5a2
No known key found for this signature in database
GPG Key ID: C2956F1668BA042A

View File

@ -15,6 +15,7 @@ jobs:
os: windows-latest, os: windows-latest,
cc: "cl", cxx: "cl", cc: "cl", cxx: "cl",
extra_path: "", extra_path: "",
requires_msvc: true,
} }
- { - {
name: "Windows Latest MinGW", name: "Windows Latest MinGW",
@ -49,6 +50,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
# use msvc-dev-cmd to setup the environment for MSVC if needed
- name: setup MSVC
if: matrix.config.requires_msvc
uses: ilammy/msvc-dev-cmd@v1
- name: submodule - name: submodule
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: extra_path - name: extra_path