Skip to content

Commit 2e9470f

Browse files
skip[ci]: use prebuild images for some runs (#6923)
Uses a pre-build CI image for some of the CI runs. I will monitor for a week and then move over everything. runs: - windows - Rust lint - Rust arm64 --------- Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
1 parent 0b981a8 commit 2e9470f

1 file changed

Lines changed: 8 additions & 27 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -268,18 +268,17 @@ jobs:
268268
timeout-minutes: 120
269269
runs-on: >-
270270
${{ github.repository == 'vortex-data/vortex'
271-
&& format('runs-on={0}/runner=amd64-large/tag=rust-lint', github.run_id)
271+
&& format('runs-on={0}/runner=amd64-large/image=ubuntu24-full-x64-pre/tag=rust-lint', github.run_id)
272272
|| 'ubuntu-latest' }}
273273
steps:
274274
- uses: runs-on/action@v2
275275
if: github.repository == 'vortex-data/vortex'
276276
with:
277277
sccache: s3
278278
- uses: actions/checkout@v6
279-
- id: setup-rust
280-
uses: ./.github/actions/setup-rust
281-
with:
282-
repo-token: ${{ secrets.GITHUB_TOKEN }}
279+
- uses: ./.github/actions/setup-prebuild
280+
- name: Install protoc
281+
uses: ./.github/actions/setup-protoc
283282
- name: Install nightly for fmt
284283
run: rustup toolchain install $NIGHTLY_TOOLCHAIN --component rustfmt
285284
- name: Rust Lint - Format
@@ -624,7 +623,7 @@ jobs:
624623
matrix:
625624
include:
626625
- os: windows-x64
627-
runner: runs-on=${{ github.run_id }}/pool=windows-x64
626+
runner: runs-on=${{ github.run_id }}/pool=windows-x64-pre
628627
fallback_runner: windows-latest
629628
- os: linux-arm64
630629
runner: runs-on=${{ github.run_id }}/runner=arm64-medium/image=ubuntu24-full-arm64-pre/tag=rust-test-linux-arm64
@@ -638,31 +637,13 @@ jobs:
638637
with:
639638
sccache: s3
640639
- uses: actions/checkout@v5
641-
- name: Install Visual Studio Build Tools (Windows)
640+
- name: Setup (Windows)
642641
if: matrix.os == 'windows-x64'
643642
run: |
644643
$flags = '-C debuginfo=0'
645644
echo "RUSTFLAGS=$flags" >> $env:GITHUB_ENV
646-
choco install visualstudio2022buildtools --package-parameters `
647-
"--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows11SDK.26100 --passive" -y
648-
- name: Setup Python (Windows)
649-
if: matrix.os == 'windows-x64'
650-
uses: actions/setup-python@v5
651-
with:
652-
python-version: "3.11"
653-
- id: setup-rust
654-
if: matrix.os == 'windows-x64'
655-
uses: ./.github/actions/setup-rust
656-
with:
657-
repo-token: ${{ secrets.GITHUB_TOKEN }}
658-
- name: Install nextest
659-
if: matrix.os == 'windows-x64'
660-
uses: taiki-e/install-action@v2
661-
with:
662-
tool: nextest
663-
- name: Setup Prebuild
664-
if: matrix.os != 'windows-x64'
665-
uses: ./.github/actions/setup-prebuild
645+
echo "C:\rust\cargo\bin" >> $env:GITHUB_PATH
646+
- uses: ./.github/actions/setup-prebuild
666647
- name: Rust Tests (Windows)
667648
if: matrix.os == 'windows-x64'
668649
run: |

0 commit comments

Comments
 (0)