From 5e5fa308a83a2ae5b74a0c6fb0c68e1a40e7977f Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Mon, 24 Feb 2020 10:30:15 -0500 Subject: [PATCH] Build sdist and wheel in GitHub Actions --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3953a80..7c831ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,34 @@ on: pull_request: jobs: + build: + runs-on: ubuntu-latest + container: docker://altendky/hydra:ubuntu-3-minors + steps: + - uses: actions/checkout@v1 + - name: Install and update + run: | + pip install --upgrade pip setuptools tox wheel + - name: Report versions + run: | + python --version --version + pip --version + pip list + pip freeze --all + - name: Source distribution + if: always() + run: | + python setup.py sdist + - name: Wheel + if: always() + run: | + pip wheel --no-deps --wheel-dir dist/ . + - name: Archive dist + if: always() + uses: actions/upload-artifact@v1 + with: + name: desert-dist + path: dist ci: runs-on: ${{ matrix.os }} container: docker://altendky/hydra:ubuntu-3-minors