Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing ci #95

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:

jobs:
run-checks:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
Expand Down
43 changes: 25 additions & 18 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,34 +33,41 @@ jobs:
path: dist/

build_wheels:
name: Build wheel for py${{ matrix.python-version }} ${{ matrix.os.platform_id }}
name: Build wheel for ${{ matrix.os.platform_id }} ${{ matrix.os.arch }}
runs-on: ${{ matrix.os.name }}

strategy:
# Ensure that a wheel builder finishes even if another fails
# list of github vm: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
# python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.11"]

os:
- name: "ubuntu-latest"
- name: "ubuntu-22.04"
platform: "linux"
arch: "x86_64"
platform_id: "manylinux_x86_64"

- name: "macos-13"
platform: "macos"
min_macos_version: "13"
platform_id: "macosx_x86_64"
- name: "ubuntu-22.04"
platform: "linux"
arch: "aarch64"
platform_id: "manylinux_x86_64"

- name: "macos-14"
platform: "macos"
min_macos_version: "14"
platform_id: "macosx_arm64"
# - name: "macos-13"
# platform: "macos"
# min_macos_version: "13"
# platform_id: "macosx_x86_64"

- name: "windows-latest"
platform: "windows"
platform_id: "win_amd64"
# - name: "macos-14"
# platform: "macos"
# min_macos_version: "14"
# platform_id: "macosx_arm64"

# - name: "windows-latest"
# platform: "windows"
# platform_id: "win_amd64"

steps:
- name: Checkout
Expand Down Expand Up @@ -202,19 +209,19 @@ jobs:
cp wheelhouse/*.whl ./dist/

- name: Set up QEMU [linux]
if: matrix.os.name == 'ubuntu-latest'
if: matrix.os.name == 'ubuntu-22.04'
uses: docker/setup-qemu-action@v3
with:
platforms: all

- name: Build wheels [linux]
if: matrix.os.name == 'ubuntu-latest'
if: matrix.os.name == 'ubuntu-22.04'
env:
# CIBW_BUILD: ${{ env.python_cp_version }}-${{ matrix.os.platform_id }}
CIBW_ARCHS: auto x86_64 aarch64
CIBW_ARCHS: "${{ matrix.os.arch }}"
CIBW_PLATFORM: linux
CIBW_SKIP: "pp* *musllinux_* *_i686* *_s390* *pypy*"
CIBW_PROJECT_REQUIRES_PYTHON: "~=${{ matrix.python-version }}.0"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9.0"
CIBW_BUILD_VERBOSITY: 3
BUILD_THREADS: "8"
run: |
Expand Down
Loading