I'm starting to think apple is garbage #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push | |
jobs: | |
release-win: | |
runs-on: [windows-latest] | |
strategy: | |
matrix: | |
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git submodule update --init --recursive | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade pip setuptools wheel | |
- name: Build | |
run: python setup.py bdist_wheel | |
- name: Upload wheels | |
uses: actions/upload-artifact@master | |
with: | |
name: dist-win-${{ matrix.python-version }} | |
path: dist | |
release-lin: | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git submodule update --init --recursive | |
# - name: Set up Python | |
# uses: actions/setup-python@v5 | |
# with: | |
# python-version: '3.10' | |
- name: Build | |
uses: RalfG/[email protected]_x86_64 | |
with: | |
python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312' | |
system-packages: 'epel-release cmake3' | |
package-path: '' | |
- name: Upload wheels | |
uses: actions/upload-artifact@master | |
with: | |
name: wheelhouse | |
path: wheelhouse | |
source: | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git submodule update --init --recursive | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Build | |
run: python setup.py sdist | |
- name: Upload wheels | |
uses: actions/upload-artifact@master | |
with: | |
name: dist-source | |
path: dist | |
release-macos: | |
runs-on: [macos-13] | |
strategy: | |
matrix: | |
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
env: | |
MACOSX_DEPLOYMENT_TARGET: "11" | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git submodule update --init --recursive | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade pip setuptools wheel | |
- name: Build | |
run: python setup.py bdist_wheel | |
- name: Upload wheels | |
uses: actions/upload-artifact@master | |
with: | |
name: dist-mac-${{ matrix.python-version }} | |
path: dist |