Skip to content

Commit

Permalink
Fix CI release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed May 1, 2024
1 parent 8b5e123 commit ff9588a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
target: ${{ matrix.target }}
manylinux: ${{ matrix.manylinux || 'auto' }}
container: ${{ matrix.container }}
docker-options: -e CI
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -123,6 +124,9 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.interpreter }}
# FIXME: remove next step once PyO3/maturin-action filters `CARGO_HOME`
- run: echo 'CARGO_HOME=' >> "$GITHUB_ENV"
shell: bash
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools
Expand All @@ -134,6 +138,7 @@ jobs:
command: build
args: --release --out pgo_wheel --interpreter ${{ matrix.interpreter }}
manylinux: ${{ matrix.manylinux || 'auto' }}
docker-options: -e CI
env:
RUSTFLAGS: "-Cprofile-generate=${{ github.workspace }}/profdata"
- run: |
Expand All @@ -156,6 +161,7 @@ jobs:
args: --release --out dist --interpreter ${{ matrix.interpreter }}
manylinux: ${{ matrix.manylinux || 'auto' }}
rust-toolchain: stable
docker-options: -e CI
env:
RUSTFLAGS: "-Cprofile-use=${{ github.workspace }}/merged.profdata"
- name: Upload wheels
Expand Down

0 comments on commit ff9588a

Please sign in to comment.