Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/actions/setup-prebuild/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Setup Prebuild"
description: "Minimal setup for runners with pre-built Rust toolchain, nextest, and sccache"

runs:
using: "composite"
steps:
- name: Configure sccache timeout
shell: bash
run: |
mkdir -p ~/.config/sccache
echo 'server_startup_timeout_ms = 15000' > ~/.config/sccache/config

- name: Pre-start sccache server
shell: bash
run: sccache --start-server &
12 changes: 1 addition & 11 deletions .github/runs-on.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
images:
vortex-ci-amd64:
platform: "linux"
arch: "x64"
name: "vortex-ci-*"
owner: "245040174862"
vortex-ci-arm64:
platform: "linux"
arch: "arm64"
name: "vortex-ci-*"
owner: "245040174862"
_extends: .github-private
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,7 @@ jobs:
runner: runs-on=${{ github.run_id }}/pool=windows-x64
fallback_runner: windows-latest
- os: linux-arm64
runner: runs-on=${{ github.run_id }}/runner=arm64-medium/tag=rust-test-linux-arm64
fallback_runner: ubuntu-24.04-arm
runner: runs-on=${{ github.run_id }}/runner=arm64-medium/image=ubuntu24-full-arm64-pre/tag=rust-test-linux-arm64
runs-on: >-
${{ github.repository == 'vortex-data/vortex'
&& matrix.runner
Expand All @@ -649,13 +648,18 @@ jobs:
with:
python-version: "3.11"
- id: setup-rust
if: matrix.os == 'windows-x64'
uses: ./.github/actions/setup-rust
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install nextest
if: matrix.os == 'windows-x64'
uses: taiki-e/install-action@v2
with:
tool: nextest
- name: Setup Prebuild
if: matrix.os != 'windows-x64'
uses: ./.github/actions/setup-prebuild
- name: Rust Tests (Windows)
if: matrix.os == 'windows-x64'
run: |
Expand Down
Loading