diff --git a/.github/workflows/windows-mingw.yml b/.github/workflows/windows-mingw.yml index dedff87e0ef..1edd65bab36 100644 --- a/.github/workflows/windows-mingw.yml +++ b/.github/workflows/windows-mingw.yml @@ -34,29 +34,23 @@ jobs: - name: Checkout the latest code (shallow clone) uses: actions/checkout@v2 - - name: Debug over SSH (tmate) - uses: mxschmitt/action-tmate@v3.5 - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }} - with: - limit-access-to-actor: true - - name: configure # Use cmd to remove the path easily run: | bcdedit /set IncreaseUserVa 3072 editbin /LARGEADDRESSAWARE "C:\Program Files\Git\mingw64\bin\cc1plus.exe" - path %PATH:C:\Program Files\Git\bin;=% - path %PATH:C:\Program Files\Git\usr\bin;=% - path %PATH:C:\Strawberry\c\bin;=% - path %PATH:C:\Strawberry\perl\bin;=% - path %PATH:C:\Strawberry\perl\site\bin;=% + set PATH=C:\Program Files\Git\mingw64\bin;%PATH% mkdir build cd build cmake -G "MinGW Makefiles" -DBUILD_SHARED_LIBS=${{ matrix.config.shared }} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DGINKGO_COMPILER_FLAGS=${{ matrix.config.cflags }} .. cmake --build . -j4 - ctest . --output-on-failure shell: cmd + - name: Debug over SSH (tmate) + uses: mxschmitt/action-tmate@v3.5 + with: + limit-access-to-actor: true + - name: install run: | set PATH=%PATH:C:\Program Files\Git\bin;=%