Skip to content

Commit

Permalink
Merge pull request #391 from mabel-dev/0.6.15
Browse files Browse the repository at this point in the history
0.6.15-alpha.1 (take two)
  • Loading branch information
joocer authored Oct 15, 2023
2 parents 133943a + 83eabf8 commit 3b035ca
Showing 1 changed file with 2 additions and 112 deletions.
114 changes: 2 additions & 112 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,122 +6,12 @@ on:

jobs:

build-linux-cp38:
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64

steps:
- uses: actions/checkout@master

- name: Install Python package dependencies
run: /opt/python/cp38-cp38/bin/python -m pip install cython wheel

- name: Build binary wheel
run: /opt/python/cp38-cp38/bin/python setup.py bdist_wheel

# - name: Apply auditwheel for manylinux wheel
# run: auditwheel repair -w dist dist/*
#
# - name: Remove linux wheel
# run: rm dist/*-linux_x86_64.whl

- name: Archive dist artifacts
uses: actions/upload-artifact@v1
with:
name: dist-linux-3.8
path: dist


build-linux-cp39:
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64

steps:
- uses: actions/checkout@master

- name: Install Python package dependencies
run: /opt/python/cp39-cp39/bin/python -m pip install cython wheel

- name: Build binary wheel
run: /opt/python/cp39-cp39/bin/python setup.py bdist_wheel

# - name: Apply auditwheel for manylinux wheel
# run: auditwheel repair -w dist dist/*
#
# - name: Remove linux wheel
# run: rm dist/*-linux_x86_64.whl

- name: Archive dist artifacts
uses: actions/upload-artifact@v1
with:
name: dist-linux-3.9
path: dist

build-linux-cp310:
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64

steps:
- uses: actions/checkout@master

- name: Install Python package dependencies
run: /opt/python/cp310-cp310/bin/python -m pip install cython wheel

- name: Build binary wheel
run: /opt/python/cp310-cp310/bin/python setup.py bdist_wheel

# - name: Apply auditwheel for manylinux wheel
# run: auditwheel repair -w dist dist/*
#
# - name: Remove linux wheel
# run: rm dist/*-linux_x86_64.whl

- name: Archive dist artifacts
uses: actions/upload-artifact@v1
with:
name: dist-linux-3.10
path: dist

build-macos:
runs-on: macos-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@master

- name: Set up Python ${{ matrix.python-version }} x64
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
architecture: x64

- name: Install Python package dependencies
run: pip install cython wheel

- name: Build on macOS universal2
shell: bash
env:
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
MACOSX_DEPLOYMENT_TARGET: '10.15'
ARCHFLAGS: -arch x86_64 -arch arm64
PYO3_CROSS_LIB_DIR: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib
run: python setup.py bdist_wheel

- name: Archive dist artifacts
uses: actions/upload-artifact@v1
with:
name: dist-macos-${{ matrix.python-version }}
path: dist

build-windows:
runs-on: windows-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.10']

steps:
- uses: actions/checkout@master
Expand Down Expand Up @@ -151,7 +41,7 @@ jobs:
path: dist

upload:
needs: [build-linux-cp38, build-linux-cp39, build-linux-cp310, build-macos, build-windows]
needs: [build-windows]
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 3b035ca

Please sign in to comment.