Skip to content

Commit

Permalink
buck2/github: use faster Windows runners
Browse files Browse the repository at this point in the history
Summary:
For some reason Cargo builds are at least twice slower on Windows than on Linux or MacOS on Github. I checked this is true for other popular Rust projects as well.

We can use faster 8-core runners instead of 2-core to reduce this difference.

Differential Revision: D66011530
  • Loading branch information
KapJI authored and facebook-github-bot committed Nov 15, 2024
1 parent 08e55c3 commit c01d4ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: ./.github/actions/build_debug
- uses: ./.github/actions/run_test_py
windows-build-and-test:
runs-on: windows-latest
runs-on: windows-8-core
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup_windows_env
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- uses: ./.github/actions/setup_reindeer
- uses: ./.github/actions/build_bootstrap
windows-build-examples:
runs-on: windows-latest
runs-on: windows-8-core
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/setup_windows_env
Expand Down

0 comments on commit c01d4ac

Please sign in to comment.