name: CI (Windows-mingw) on: [push, pull_request] jobs: build_and_test: strategy: fail-fast: false matrix: version: - stable - nightly name: ${{ matrix.version }} - x86_64-pc-windows-gnu runs-on: windows-latest steps: - uses: actions/checkout@master - name: Install ${{ matrix.version }} uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.version }}-x86_64-pc-windows-gnu profile: minimal override: true - name: Install MSYS2 uses: numworks/setup-msys2@v1 - name: Install packages run: | msys2do pacman -Sy --noconfirm pacman msys2do pacman --noconfirm -S base-devel pkg-config - name: check build uses: actions-rs/cargo@v1 with: command: check args: --all --bins --examples --tests