Skip to content

Commit

Permalink
remove macOS ARM64 builds (mkleehammer#1247)
Browse files Browse the repository at this point in the history
...which have never worked.  Maybe this will work with CIBUILDWHEEL eventually but until it does, drop them.
  • Loading branch information
keitherskine authored and ndmlny-qs committed Aug 25, 2023
1 parent fa68917 commit 97da475
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/artifacts_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
strategy:
matrix:
# https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job
# ubuntu-20.04 supports more versions of Python than ubuntu-22.04
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
os: [windows-2019, macos-11, ubuntu-20.04]

steps:
Expand All @@ -45,14 +47,15 @@ jobs:
platforms: all

- name: Build wheels
uses: pypa/cibuildwheel@v2.11.2
uses: pypa/cibuildwheel@v2.13.1
# https://cibuildwheel.readthedocs.io/en/stable/options/#options-summary
env:
# Windows - both 64-bit and 32-bit builds
CIBW_ARCHS_WINDOWS: "AMD64 x86"

# macOS - both Intel and ARM builds; no bundled libraries
CIBW_ARCHS_MACOS: "x86_64 arm64"
# macOS - just Intel build (ARM doesn't work); no bundled libraries
# https://cibuildwheel.readthedocs.io/en/stable/faq/#how-to-cross-compile
CIBW_ARCHS_MACOS: x86_64
# prevent the addition of unixODBC dylibs to the wheel by simply not calling the repair
CIBW_REPAIR_WHEEL_COMMAND_MACOS: ""

Expand Down
22 changes: 21 additions & 1 deletion .github/workflows/ubuntu_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,32 @@ on: [push, pull_request]
jobs:
run_tests:
name: Run tests on Python ${{ matrix.python-version }}
# ubuntu-20.04 supports more versions of Python than ubuntu-22.04
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
runs-on: ubuntu-20.04

strategy:
fail-fast: false
matrix:
<<<<<<< HEAD
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
=======
# Github Actions no longer supports Python 2.7 (June 2023)
# https://github.com/actions/runner-images/issues/7401
include:
- python-version: "3.6"
tests-dir: tests3
- python-version: "3.7"
tests-dir: tests3
- python-version: "3.8"
tests-dir: tests3
- python-version: "3.9"
tests-dir: tests3
- python-version: "3.10"
tests-dir: tests3
- python-version: "3.11"
tests-dir: tests3
>>>>>>> 67162f0 (remove macOS ARM64 builds (#1247))

services:

Expand Down Expand Up @@ -147,7 +167,7 @@ jobs:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit 97da475

Please sign in to comment.