Browse Source

Remove ros2-bridge Python release script

It's now bundled with the main dora library, so there's no need to release it separately.
tags/v0.2.5-alpha.3
Philipp Oppermann 2 years ago
parent
commit
2ef2b770d2
Failed to extract signature
1 changed files with 0 additions and 146 deletions
  1. +0
    -146
      libraries/extensions/ros2-bridge/.github/workflows/pip-release.yml

+ 0
- 146
libraries/extensions/ros2-bridge/.github/workflows/pip-release.yml View File

@@ -1,146 +0,0 @@
# This file has been originally generated by maturin v0.14.17
# To update, you can check
#
# maturin generate-ci github --zig
#
# But note that some manual modification has been done.
# Check the diffs to make sure that you haven't broken anything.

name: pip-release

on:
release:
types:
- "published"

permissions:
contents: write

jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64, x86, aarch64]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: Install dependencies
run: |
pip install patchelf --upgrade
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --zig
sccache: "true"
manylinux: auto
working-directory: python
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: python/dist
- name: Upload to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: python/dist/*
tag: ${{ github.ref }}
file_glob: true

windows:
runs-on: windows-latest
strategy:
matrix:
target: [x64, x86]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.7"
architecture: ${{ matrix.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist
sccache: "true"
working-directory: python
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: python/dist
- name: Upload to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: python/dist/*
tag: ${{ github.ref }}
file_glob: true

macos:
runs-on: macos-latest
strategy:
matrix:
target: [x86_64, aarch64]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist
sccache: "true"
working-directory: python
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: python/dist
- name: Upload to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: python/dist/*
tag: ${{ github.ref }}
file_glob: true

sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist
working-directory: python
- name: Upload sdist
uses: actions/upload-artifact@v3
with:
name: wheels
path: python/dist

release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [linux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v3
with:
name: wheels
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_PASS }}
with:
command: upload
args: --skip-existing *

Loading…
Cancel
Save