File tree Expand file tree Collapse file tree 4 files changed +174
-84
lines changed
Expand file tree Collapse file tree 4 files changed +174
-84
lines changed Original file line number Diff line number Diff line change 2121 run : mkdir -p ${{ github.workspace }}/profdata
2222
2323 - name : build initial wheel
24- uses : PyO3/maturin-action@v1
24+ uses : PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
2525 with :
2626 manylinux : auto
2727 args : >
@@ -41,15 +41,17 @@ runs:
4141 cd crates/jiter-python
4242 uv pip install jiter --no-index --no-deps --find-links pgo-wheel --force-reinstall
4343 uv run bench.py jiter jiter-cache
44- rustup run ${{ inputs.rust-toolchain } } bash -c 'echo LLVM_PROFDATA=$RUSTUP_HOME/toolchains/$RUSTUP_TOOLCHAIN/lib/rustlib/$RUST_HOST/bin/llvm-profdata >> "$GITHUB_ENV"'
44+ rustup run ${INPUTS_RUST_TOOLCHAIN } bash -c 'echo LLVM_PROFDATA=$RUSTUP_HOME/toolchains/$RUSTUP_TOOLCHAIN/lib/rustlib/$RUST_HOST/bin/llvm-profdata >> "$GITHUB_ENV"'
4545 shell : bash
46+ env :
47+ INPUTS_RUST_TOOLCHAIN : ${{ inputs.rust-toolchain }}
4648
4749 - name : merge pgo data
48- run : ${{ env.LLVM_PROFDATA }} merge -o ${{ github.workspace }}/merged.profdata ${{ github.workspace }}/profdata
50+ run : ${{ env.LLVM_PROFDATA }} merge -o ${{ github.workspace }}/merged.profdata ${{ github.workspace }}/profdata # zizmor: ignore[template-injection]
4951 shell : pwsh # because it handles paths on windows better, and works well enough on unix for this step
5052
5153 - name : build pgo-optimized wheel
52- uses : PyO3/maturin-action@v1
54+ uses : PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
5355 with :
5456 manylinux : auto
5557 args : >
You can’t perform that action at this time.
0 commit comments