Skip to content

Update msys2.yml

Update msys2.yml #7

Workflow file for this run

name: MSYS2 Tests
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
jobs:
test:
name: Test with MSYS2 ${{ matrix.sys }}
runs-on: windows-2022
strategy:
fail-fast: false
matrix:
include:
# - { sys: msys }
- { sys: mingw32 }
- { sys: mingw64 }
- { sys: ucrt64 }
- { sys: clang32 }
- { sys: clang64 }
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: 'Setup MSYS2'
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
update: true
install: >-
git
make
pacboy: >-
toolchain:p
cmake:p
ninja:p
python:p
python-pip:p
python-pytest:p
python-setuptools:p
python-typing_extensions:p
python-wheel:p
- name: "Run tests"
shell: msys2 {0}
run: |
CIBUILDWHEEL=1 python -m pip install -v --no-build-isolation .
CIBUILDWHEEL=1 python -m pytest