Skip to content

Commit ff9588a

Browse files
committed
Fix CI release workflow
1 parent 8b5e123 commit ff9588a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
target: ${{ matrix.target }}
9494
manylinux: ${{ matrix.manylinux || 'auto' }}
9595
container: ${{ matrix.container }}
96+
docker-options: -e CI
9697
- name: Upload wheels
9798
uses: actions/upload-artifact@v3
9899
with:
@@ -123,6 +124,9 @@ jobs:
123124
- uses: actions/setup-python@v5
124125
with:
125126
python-version: ${{ matrix.interpreter }}
127+
# FIXME: remove next step once PyO3/maturin-action filters `CARGO_HOME`
128+
- run: echo 'CARGO_HOME=' >> "$GITHUB_ENV"
129+
shell: bash
126130
- uses: dtolnay/rust-toolchain@stable
127131
with:
128132
components: llvm-tools
@@ -134,6 +138,7 @@ jobs:
134138
command: build
135139
args: --release --out pgo_wheel --interpreter ${{ matrix.interpreter }}
136140
manylinux: ${{ matrix.manylinux || 'auto' }}
141+
docker-options: -e CI
137142
env:
138143
RUSTFLAGS: "-Cprofile-generate=${{ github.workspace }}/profdata"
139144
- run: |
@@ -156,6 +161,7 @@ jobs:
156161
args: --release --out dist --interpreter ${{ matrix.interpreter }}
157162
manylinux: ${{ matrix.manylinux || 'auto' }}
158163
rust-toolchain: stable
164+
docker-options: -e CI
159165
env:
160166
RUSTFLAGS: "-Cprofile-use=${{ github.workspace }}/merged.profdata"
161167
- name: Upload wheels

0 commit comments

Comments
 (0)