From 83ae6c3fb65aa6c394783586730c5bc1b0b09322 Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Tue, 13 Feb 2024 00:50:21 -0700 Subject: [PATCH] ci: Add wheel build --- .github/workflows/ci.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75c4029..a531b78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: "Run Tests" +name: "CI" on: - push - pull_request @@ -76,3 +76,20 @@ jobs: run: pip install isort - name: "Check source code is formatted with isort" run: isort --check . + build-dist: + name: "Build Wheel" + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: 3.11 + - name: "Install build dependencies" + run: pip install --upgrade wheel setuptools + - name: "Build" + run: python -m build + - name: "Upload Artifacts" + uses: actions/upload-artifact@v4 + with: + name: dist + path: dist