-
Notifications
You must be signed in to change notification settings - Fork 12
41 lines (37 loc) · 1.15 KB
/
build_linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: build wheels for linux
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
- name: submodule update
run: |
git submodule update --init --recursive
- uses: ./.github/workflows/actions/manylinux2014_x86_64/
- uses: ./.github/workflows/actions/manylinux2014_i686/
- uses: ./.github/workflows/actions/manylinux2014_aarch64/
- name: copy manylinux wheels
run: |
mkdir dist
cp wheelhouse/dartsclone*manylinux2014_x86_64.whl dist/
cp wheelhouse/dartsclone*manylinux2014_i686.whl dist/
cp wheelhouse/dartsclone*manylinux2014_aarch64.whl dist/
- name: upload wheels
uses: actions/upload-artifact@v1
with:
name: dist
path: dist
- name: Publish to PyPI
env:
PYPI_USERNAME: ${{ secrets.PYPI_USER }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install twine
python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --repository-url https://upload.pypi.org/legacy/ dist/*