Skip to content

Commit

Permalink
Enable building armory-matrix wheel in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
treubig26 committed Nov 6, 2023
1 parent c2a6c13 commit 778a029
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,17 @@ jobs:


build:
name: 🔨 Build
name: 🔨 Build - ${{ matrix.package }}
runs-on: ubuntu-latest
needs:
- unit-tests
- integration-tests
strategy:
fail-fast: false
matrix:
package:
- library
- matrix
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -140,12 +146,12 @@ jobs:
pip install pip>=23
pip install hatch
- name: Build Library
run: cd library && hatch build --clean --target wheel
- name: Build Wheel
run: cd ${{ matrix.package }} && hatch build --clean --target wheel

- name: Upload Library Wheel
- name: Upload Wheel
uses: actions/upload-artifact@v3
with:
name: armory-library-wheel
path: library/dist/*.whl
name: armory-${{ matrix.package }}-wheel
path: ${{ matrix.package }}/dist/*.whl
retention-days: 7

0 comments on commit 778a029

Please sign in to comment.