Skip to content
Closed
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
5 changes: 5 additions & 0 deletions .github/actions/setup-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ inputs:
timestamp:
description: "Timestamp cache with cargo sweep"
default: "false"
enable-sccache:
description: "Should sccache be installed and configured, enabled by default"
required: false
default: "true"

runs:
using: "composite"
Expand Down Expand Up @@ -58,6 +62,7 @@ runs:
env-vars: "RUSTFLAGS"

- name: Rust Compile Cache
if: inputs.enable-sccache == 'true'
uses: mozilla-actions/sccache-action@v0.0.9

- name: Install Protoc (for lance-encoding build step)
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@
matrix:
include:
- os: windows-x64
runner: runs-on=${{ github.run_id }}/pool=windows-x64/extras=s3-cache
runner: runs-on=${{ github.run_id }}/family=m7i/image=windows22-full-x64/cpu=8/extras=s3-cache
- os: linux-arm64
runner:
- runs-on=${{ github.run_id }}
Expand All @@ -559,7 +559,16 @@
- uses: actions/checkout@v5
- name: Install Visual Studio Build Tools (Windows)
if: matrix.os == 'windows-x64'
run: |

Check failure on line 562 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / validate-workflow-yaml

562:100 [trailing-spaces] trailing spaces
Get-ChildItem -Path "C:\Program Files (x86)\Microsoft Visual Studio\"

$path = "$(${env:CommonProgramFiles(x86)})\Microsoft Visual Studio\Installer\vswhere.exe"
$args = "-latest", "-requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64", "-property installationPath"

if ($path) {
Start-Process $path -ArgumentList $args
}

choco install visualstudio2022buildtools --package-parameters `
"--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows11SDK.26100 --passive" -y
- name: Setup Python (Windows)
Expand Down
Loading