diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index b95a91d..ac711e9 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -61,6 +61,14 @@ jobs: submodules: true fetch-depth: 0 + - name: install mingw & deps + uses: msys2/setup-msys2@v2 + with: + update: true + install: >- + cmake + if: matrix.os == 'windows-latest' + - name: Set environment list variables run: | env_vars="${{ matrix.env_list }}" @@ -72,14 +80,6 @@ jobs: if: matrix.os == 'windows-latest' run: echo "CMAKE_GENERATOR=MinGW Makefiles" >> $GITHUB_ENV - - name: install mingw & deps - uses: msys2/setup-msys2@v2 - with: - update: true - install: >- - cmake - if: matrix.os == 'windows-latest' - - name: Install Dependencies run: | if [[ "${{ matrix.env_list }}" = "ARCH=x86" ]]; then