Skip to content

Commit

Permalink
try xl for 3.8+
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith committed Jan 11, 2024
1 parent fc191b1 commit 0d9154b
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@ jobs:
# - { machine: 'windows-2022', python: '3.10', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' }
# - { machine: 'windows-2022', python: '3.11', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' }
- { machine: 'windows-2022', python: '3.12', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' }
# - { machine: 'macos-11', python: '3.6', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
# - { machine: 'macos-11', python: '3.7', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
# - { machine: 'macos-11', python: '3.8', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
# - { machine: 'macos-11', python: '3.9', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
# - { machine: 'macos-11', python: '3.10', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
# - { machine: 'macos-11', python: '3.11', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
- { machine: 'macos-11', python: '3.12', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
- { machine: 'macos-12', python: '3.6', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
- { machine: 'macos-12', python: '3.7', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
- { machine: 'macos-13-xlarge', python: '3.8', arch: 'arm64', cmd: '.github/env/macOS/bdist-wheel.sh' }
- { machine: 'macos-13-xlarge', python: '3.9', arch: 'arm64', cmd: '.github/env/macOS/bdist-wheel.sh' }
- { machine: 'macos-13-xlarge', python: '3.10', arch: 'arm64', cmd: '.github/env/macOS/bdist-wheel.sh' }
- { machine: 'macos-13-xlarge', python: '3.11', arch: 'arm64', cmd: '.github/env/macOS/bdist-wheel.sh' }
- { machine: 'macos-13-xlarge', python: '3.12', arch: 'arm64', cmd: '.github/env/macOS/bdist-wheel.sh' }
# Add M1 powered runners when available
# https://github.com/jpy-consortium/jpy/issues/110
Expand All @@ -90,35 +89,36 @@ jobs:
path: dist/*.whl
retention-days: 1

bdist-wheels-linux-arm64:
runs-on: 'ubuntu-22.04'
steps:
- uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Bake
uses: docker/[email protected]
with:
files: .github/docker/docker-bake.hcl
pull: true
set: |
*.platform=linux/arm64/v8
*.output=type=local,dest=/tmp/dist
- uses: actions/upload-artifact@v3
with:
name: bdist-wheels-linux-arm64
path: /tmp/dist/*.whl
retention-days: 1
# bdist-wheels-linux-arm64:
# runs-on: 'ubuntu-22.04'
# steps:
# - uses: actions/checkout@v3
#
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v2
#
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
#
# - name: Bake
# uses: docker/[email protected]
# with:
# files: .github/docker/docker-bake.hcl
# pull: true
# set: |
# *.platform=linux/arm64/v8
# *.output=type=local,dest=/tmp/dist
#
# - uses: actions/upload-artifact@v3
# with:
# name: bdist-wheels-linux-arm64
# path: /tmp/dist/*.whl
# retention-days: 1

collect-artifacts:
runs-on: ubuntu-22.04
needs: ['sdist', 'bdist-wheel', 'bdist-wheels-linux-arm64']
# needs: ['sdist', 'bdist-wheel', 'bdist-wheels-linux-arm64']
needs: [ 'sdist', 'bdist-wheel' ]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
Expand Down

0 comments on commit 0d9154b

Please sign in to comment.