Skip to content

Commit

Permalink
Try not using larger runners
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Dec 26, 2024
1 parent 3572427 commit 3bc780a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
runs-on:
labels: "windows-latest-xlarge"
labels: "windows-latest"
name: "cargo clippy | windows"
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
runs-on:
labels: "windows-latest-xlarge"
labels: "windows-latest"
name: "cargo test | windows"
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -334,7 +334,7 @@ jobs:
timeout-minutes: 15
needs: determine_changes
if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
runs-on: windows-latest-xlarge
runs-on: windows-latest
name: "check windows trampoline | ${{ matrix.target-arch }}"
strategy:
fail-fast: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/setup-dev-drive.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This uses `D:` as the workspace instead of `C:`, as the performance is much
# better. Previously, we created a ReFS Dev Drive, but this is actually faster.

$Drive = "$($RUNNER_TEMP)"
$Drive = "D:"
$Tmp = "$($Drive)\uv-tmp"

# Create the directory ahead of time in an attempt to avoid race-conditions
Expand All @@ -12,8 +12,8 @@ Write-Output `
"TMP=$($Tmp)" `
"TEMP=$($Tmp)" `
"UV_INTERNAL__TEST_DIR=$($Tmp)" `
"RUSTUP_HOME=$($Tm)\.rustup" `
"CARGO_HOME=$($Tm)\.cargo" `
"UV_WORKSPACE=$($Tm)\uv" `
"RUSTUP_HOME=$($Drive)/.rustup" `
"CARGO_HOME=$($Drive)/.cargo" `
"UV_WORKSPACE=$($Drive)/uv" `
>> $env:GITHUB_ENV

0 comments on commit 3bc780a

Please sign in to comment.