diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c266358599..647fa11c648 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,7 +110,7 @@ jobs: installation: strategy: matrix: - build: [ win-msvc, win-gnu, win32-msvc ] + build: [ win-msvc, win-gnu, win32-msvc, win32-gnu ] include: - build: win-msvc os: windows-latest @@ -124,6 +124,10 @@ jobs: os: windows-latest rust: stable target: i686-pc-windows-msvc + - build: win32-gnu + os: windows-latest + rust: stable + target: i686-pc-windows-gnu runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -133,10 +137,16 @@ jobs: toolchain: ${{ matrix.rust }} targets: ${{ matrix.target }} - uses: Swatinem/rust-cache@v2 + - uses: msys2/setup-msys2@v2 + with: + msystem: MINGW${{ startsWith(matrix.target, 'i686-') && '32' || '64' }} + pacboy: cc:p + path-type: inherit - name: "Install prerequisites" run: vcpkg install zlib:x64-windows-static-md - name: "Installation from crates.io: gitoxide" run: cargo +${{ matrix.rust }} install --target ${{ matrix.target }} --target-dir install-artifacts --debug --force gitoxide + shell: msys2 {0} lint: runs-on: ubuntu-latest