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

update yaml to include aarch64 in build #48

Closed
wants to merge 1 commit into from
Closed
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
28 changes: 21 additions & 7 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ jobs:
source: true

# OSX py builds
- name: osx 2.7 intel
os: macos-latest
python: "2.7"
piparch: macosx_10_9_intel

- name: osx 3.6 intel
os: macos-latest
python: "3.6"
Expand Down Expand Up @@ -118,7 +113,6 @@ jobs:
- name: Automatic core dumper analysis
uses: mdavidsaver/ci-core-dumper@master


- name: Setup native python
if: matrix.python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -298,7 +292,22 @@ jobs:
manylinux: manylinux2010
arch: i686
pre: linux32
platform: linux/386

# Linux py builds aarch64
- name: linux 3.10 aarch64
os: ubuntu-latest
pyver: cp310-cp310
manylinux: manylinux2014
arch: aarch64
platform: linux/arm64

- name: linux 3.11 aarch64
os: ubuntu-latest
pyver: cp311-cp311
manylinux: manylinux2014
arch: aarch64
platform: linux/arm64
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -327,6 +336,11 @@ jobs:
python setup.py sdist --formats=gztar
ls dist/*

- name: Set up QEMU
if: matrix.platform
uses: docker/setup-qemu-action@v2
with:
platforms: 'arm64'
- name: Docker PY build
if: matrix.pyver && !matrix.source
run: |
Expand Down Expand Up @@ -355,7 +369,7 @@ jobs:
cat runit.sh
chmod +x runit.sh
docker pull quay.io/pypa/${{ matrix.manylinux }}_${{ matrix.arch }}
docker run --rm -v `pwd`:/io quay.io/pypa/${{ matrix.manylinux }}_${{ matrix.arch }} ${{ matrix.pre }} /io/runit.sh
docker run --platform ${{ matrix.platform || 'linux/amd64' }} --rm -v `pwd`:/io quay.io/pypa/${{ matrix.manylinux }}_${{ matrix.arch }} ${{ matrix.pre }} /io/runit.sh

- name: List Artifacts
run: ls dist/*
Expand Down