File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -557,9 +557,7 @@ jobs:
557
557
--release
558
558
--out pgo-wheel
559
559
--interpreter ${{ matrix.interpreter }}
560
- # Limit windows builds to 1.77 to keep Windows 7 support.
561
- # FIXME: Unpin when Python 3.8 support is dropped. (3.9 requires Windows 10)
562
- rust-toolchain : ${{ (matrix.os == 'windows' && '1.77') || 'stable' }}
560
+ rust-toolchain : ${{ steps.rust-toolchain.outputs.name }}
563
561
docker-options : -e CI
564
562
env :
565
563
RUSTFLAGS : " -Cprofile-generate=${{ github.workspace }}/profdata"
@@ -574,7 +572,7 @@ jobs:
574
572
pip install -r tests/requirements.txt
575
573
pip install pydantic-core --no-index --no-deps --find-links pgo-wheel --force-reinstall
576
574
pytest tests/benchmarks
577
- rustup run stable bash -c 'echo LLVM_PROFDATA=$RUSTUP_HOME/toolchains/$RUSTUP_TOOLCHAIN/lib/rustlib/${{ env.RUST_HOST }}/bin/llvm-profdata >> "$GITHUB_ENV"'
575
+ rustup run ${{ steps.rust-toolchain.outputs.name }} bash -c 'echo LLVM_PROFDATA=$RUSTUP_HOME/toolchains/$RUSTUP_TOOLCHAIN/lib/rustlib/${{ env.RUST_HOST }}/bin/llvm-profdata >> "$GITHUB_ENV"'
578
576
579
577
- name : merge pgo data
580
578
run : ${{ env.LLVM_PROFDATA }} merge -o ${{ github.workspace }}/merged.profdata ${{ github.workspace }}/profdata
@@ -587,9 +585,7 @@ jobs:
587
585
--release
588
586
--out dist
589
587
--interpreter ${{ matrix.interpreter }}
590
- # Limit windows builds to 1.77 to keep Windows 7 support.
591
- # FIXME: Unpin when Python 3.8 support is dropped. (3.9 requires Windows 10)
592
- rust-toolchain : ${{ (matrix.os == 'windows' && '1.77') || 'stable' }}
588
+ rust-toolchain : ${{steps.rust-toolchain.outputs.name}}
593
589
docker-options : -e CI
594
590
env :
595
591
RUSTFLAGS : " -Cprofile-use=${{ github.workspace }}/merged.profdata"
You can’t perform that action at this time.
0 commit comments