Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add build step to gather wheel files
  • Loading branch information
jdonaldson-llnl committed Oct 30, 2020
1 parent 20e053b commit 7cc9892
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -7,7 +7,7 @@ on:
push: []

jobs:
build:
test:

runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -38,3 +38,34 @@ jobs:
cd ./contrib/python
pip install tox tox-wheel
tox -e py
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.0
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Cache pip
uses: actions/cache@v2
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Build wheel
run: |
cd ./contrib/python/
python setup.py bdist_wheel
- name: Upload wheel file
uses: actions/upload-artifact@v2
with:
name: Python Wheels
path: ./contrib/python/dist/

0 comments on commit 7cc9892

Please sign in to comment.