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 2f86fd1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .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,7 +124,8 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.interpreter }}
- uses: dtolnay/rust-toolchain@stable
# FIXME: set to @stable once PyO3/maturin-action filters `CARGO_HOME`
- uses: dtolnay/rust-toolchain@bb45937a053e097f8591208d8e74c90db1873d07
with:
components: llvm-tools
- name: Build initial wheel
Expand All @@ -134,6 +136,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 +159,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 2f86fd1

Please sign in to comment.