Skip to content

Commit

Permalink
Merge pull request #99 from mrmundt/wheel_creation
Browse files Browse the repository at this point in the history
Automate wheel creation
  • Loading branch information
jsiirola committed May 26, 2020
2 parents 10b7bb3 + 5565d4c commit c0b323e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release_wheel_creation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: PyUtilib Release Distribution Creation

on:
push:
tags:
- '*'

jobs:
wheelcreation:
name: pyutilib/wheel_creation
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
include:
- os: ubuntu-latest
TARGET: linux
python-version: [3.7]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine wheel setuptools
- name: Build Python wheels
run: |
python setup.py sdist --format=gztar bdist_wheel
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: pyutilib-wheels
path: dist

0 comments on commit c0b323e

Please sign in to comment.