Skip to content

raspberry pi wheel support #6

raspberry pi wheel support

raspberry pi wheel support #6

Workflow file for this run

name: Build and Publish GH+PyPi
on:
workflow_dispatch:
branches:
- master
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
CIBW_PYPY_VERSION: "7.3.10*"
strategy:
matrix:

Check failure on line 15 in .github/workflows/build_wheels.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_wheels.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
os: [ubuntu-20.04, windows-2019, macos-11, ubuntu-20.04-arm64
include:
- os: ubuntu-20.04-arm64
arch: arm64
docker_image: "quay.io/pypa/manylinux2014_aarch64"]
steps:
- name: GitHub Checkout
uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected]
- name: Build wheels Linux ARM64 (Raspberry Pi)
if: matrix.os == 'ubuntu-20.04-arm64'
uses: pypa/[email protected]
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- name: GitHub Checkout
uses: actions/checkout@v4
- name: Build sdist
run: pipx run build --sdist
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz
Release:
needs: [ build_wheels, build_sdist ]
runs-on: ubuntu-latest
environment: pypi
permissions:
contents: write
discussions: write
id-token: write
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: artifact
path: dist
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
body: |
Please read the [CHANGELOG](https://unicorn-fy.docs.lucit.tech/changelog.html) for further information.
discussion_category_name: releases
draft: false
files: |
dist/*.tar.gz
dist/*.whl
generate_release_notes: true
name: unicorn-fy
prerelease: false
tag_name: 0.13.1
token: ${{ secrets.GITHUB_TOKEN }}
- name: Create PyPi Release
uses: pypa/gh-action-pypi-publish@release/v1