Merge pull request #6014 from YosysHQ/update_ci

Update wheels ci
This commit is contained in:
Miodrag Milanović 2026-07-08 18:26:43 +00:00 committed by GitHub
commit b35b6706f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 4 deletions

View File

@ -52,7 +52,9 @@ jobs:
fetch-depth: 0 fetch-depth: 0
submodules: true submodules: true
persist-credentials: false persist-credentials: false
- uses: actions/setup-python@v5 - uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Get FFI - name: Get FFI
shell: bash shell: bash
run: | run: |
@ -76,14 +78,12 @@ jobs:
run: | run: |
choco install winflexbison3 choco install winflexbison3
- name: Build wheels - name: Build wheels
uses: pypa/cibuildwheel@v3.4.1 uses: pypa/cibuildwheel@v4.1.0
env: env:
# * APIs not supported by PyPy # * APIs not supported by PyPy
# * Musllinux disabled because it increases build time from 48m to ~3h # * Musllinux disabled because it increases build time from 48m to ~3h
CIBW_SKIP: > CIBW_SKIP: >
cp38*
cp39* cp39*
pp*
*musllinux* *musllinux*
CIBW_ARCHS: ${{ matrix.os.archs }} CIBW_ARCHS: ${{ matrix.os.archs }}
CIBW_BUILD_VERBOSITY: "1" CIBW_BUILD_VERBOSITY: "1"
@ -95,11 +95,13 @@ jobs:
OPTFLAGS=-O3 OPTFLAGS=-O3
PKG_CONFIG_PATH=./ffi/pfx/lib/pkgconfig PKG_CONFIG_PATH=./ffi/pfx/lib/pkgconfig
PATH="$PWD/bison/src:$PATH" PATH="$PWD/bison/src:$PATH"
CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Release"
CIBW_ENVIRONMENT_MACOS: > CIBW_ENVIRONMENT_MACOS: >
OPTFLAGS=-O3 OPTFLAGS=-O3
PKG_CONFIG_PATH=./ffi/pfx/lib/pkgconfig PKG_CONFIG_PATH=./ffi/pfx/lib/pkgconfig
MACOSX_DEPLOYMENT_TARGET=11 MACOSX_DEPLOYMENT_TARGET=11
PATH="$PWD/bison/src:$PATH" PATH="$PWD/bison/src:$PATH"
CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Release"
CIBW_BEFORE_BUILD: bash ./.github/workflows/wheels/cibw_before_build.sh CIBW_BEFORE_BUILD: bash ./.github/workflows/wheels/cibw_before_build.sh
CIBW_TEST_COMMAND: python3 {project}/tests/pyosys/run_tests.py CIBW_TEST_COMMAND: python3 {project}/tests/pyosys/run_tests.py
- uses: actions/upload-artifact@v7 - uses: actions/upload-artifact@v7