Skip to content

build(deps): bump pypa/cibuildwheel from 2.21.3 to 2.22.0 (#799) #411

build(deps): bump pypa/cibuildwheel from 2.21.3 to 2.22.0 (#799)

build(deps): bump pypa/cibuildwheel from 2.21.3 to 2.22.0 (#799) #411

Workflow file for this run

name: MSYS2 Tests
on:
push:
branches-ignore:
- "dependabot/**"
- "pre-commit-ci-update-config"
pull_request:
concurrency:
group: msys2-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test with MSYS2 ${{ matrix.sys }}
runs-on: windows-2022
strategy:
matrix:
include:
- { sys: msys, toolchain: "gcc" }
- { sys: mingw64, env: mingw-w64-x86_64- }
- { sys: ucrt64, env: mingw-w64-ucrt-x86_64- }
- { sys: clang64, env: mingw-w64-clang-x86_64- }
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: 'Setup MSYS2'
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
update: true
install: >-
make
${{matrix.env}}cmake
${{matrix.env}}ninja
${{matrix.env}}${{matrix.toolchain || 'toolchain' }}
${{matrix.env}}python
${{matrix.env}}python-pip
${{matrix.env}}python-pytest
${{matrix.env}}python-setuptools
${{matrix.env}}python-typing_extensions
- name: "Run tests"
shell: msys2 {0}
env:
CIBUILDWHEEL: 1
CC: cc
run: |
# virtual env seems to be broken
# just allow breaking system packages, we're in CI
python -m pip install --break-system-packages -v --no-build-isolation .
python -m pytest