Skip to content

Merge pull request #11 from jkittner/jkittner-patch-1 #33

Merge pull request #11 from jkittner/jkittner-patch-1

Merge pull request #11 from jkittner/jkittner-patch-1 #33

Workflow file for this run

name: wheels
on:
push:
branches: [master]
workflow_dispatch:
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
py: "cp37*"
- os: windows-latest
py: "cp37*"
- os: macos-latest
name: macos-x86_64
macos_arch: "x86_64"
py: "cp37*"
- os: macos-latest
name: macos-arm64
macos_arch: "arm64"
py: "cp38*"
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2
with:
platforms: aarch64
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_TEST_COMMAND: python -c "import solpos; print(solpos.solpos(2022, 10, 16, 15, 27, 13, 2, latitude=52, longitude=7))"
CIBW_ARCHS_LINUX: "x86_64 aarch64"
CIBW_ARCHS_WINDOWS : "AMD64 x86 ARM64"
CIBW_ARCHS_MACOS: "${{ matrix.macos_arch }}"
CIBW_SKIP: "pp*"
CIBW_BUILD: "${{ matrix.py }}"
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl