From 43f74ef5a26f943d6539af7fe5e647f06aae43aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Guzm=C3=A1n?= Date: Sun, 12 Feb 2023 17:06:58 -0600 Subject: [PATCH] check if requires msvc --- .github/workflows/meson.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/meson.yaml b/.github/workflows/meson.yaml index 7102fa0..92e3c92 100644 --- a/.github/workflows/meson.yaml +++ b/.github/workflows/meson.yaml @@ -15,6 +15,7 @@ jobs: os: windows-latest, cc: "cl", cxx: "cl", extra_path: "", + requires_msvc: true, } - { name: "Windows Latest MinGW", @@ -49,6 +50,10 @@ jobs: steps: - 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 run: git submodule update --init --recursive - name: extra_path