Skip to content

Commit

Permalink
extract
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Oct 16, 2024
1 parent 0bf7f6c commit 3869ece
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ jobs:
name: packages-sdist
path: ./target/wheels/

- name: extract
run: |
mkdir extracted
cd extracted
tar -xvzf ../target/wheels/*.tar.gz
- uses: Chia-Network/actions/setup-python@main
with:
python-version: ${{ matrix.python.major-dot-minor }}
Expand All @@ -146,7 +152,7 @@ jobs:
python${{ matrix.python.major-dot-minor }} -m venv venv
. venv/bin/activate
pip install build
python -m build target/wheels/*.tar.gz
python -m build extracted/*
- name: Build Linux with maturin on Python ${{ matrix.python }}
if: matrix.os.matrix == 'ubuntu'
Expand All @@ -161,7 +167,7 @@ jobs:
python${{ matrix.python.major-dot-minor }} -m venv /venv && \
. /venv/bin/activate && \
pip install build && \
CC=gcc python -m build target/wheels/*.tar.gz \
CC=gcc python -m build extracted/* \
'
- name: Build Windows with maturin on Python ${{ matrix.python }}
Expand All @@ -173,7 +179,7 @@ jobs:
py -${{ matrix.python.major-dot-minor }} -m venv venv
. .\venv\Scripts\Activate.ps1
pip install build
python -m build target/wheels/*.tar.gz
python -m build extracted/*
- uses: Chia-Network/actions/create-venv@main
id: create-venv
Expand Down

0 comments on commit 3869ece

Please sign in to comment.