Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: change to use github action runners #2915

Merged
merged 5 commits into from
Sep 20, 2024
Merged
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
14 changes: 7 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:

jobs:
linux-build:
runs-on: buildjet-8vcpu-ubuntu-2204
runs-on: "ubuntu-24.04"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The free OSS runner is 4X runner. build speed from 19mins on buildjet to 21 mins on 4x runner.

timeout-minutes: 45
strategy:
matrix:
Expand All @@ -38,15 +38,15 @@ jobs:
- nightly
env:
# Need up-to-date compilers for kernels
CC: clang-14
CXX: clang-14
CC: clang-18
CXX: clang-18
steps:
- uses: actions/checkout@v4
# pin the toolchain version to avoid surprises
- uses: actions-rust-lang/setup-rust-toolchain@v1
if: ${{ matrix.toolchain == 'stable' }}
with:
toolchain: "1.81.0"
toolchain: "stable"
cache-workspaces: "src/rust"
# Disable full debug symbol generation to speed up CI build and keep memory down
# "1" means line tables only, which is useful for panic tracebacks.
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
flags: unittests
fail_ci_if_error: false
linux-arm:
runs-on: warp-ubuntu-latest-arm64-4x
runs-on: ubuntu-2404-4x-arm64
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
Expand All @@ -107,7 +107,7 @@ jobs:
workspaces: rust
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: "1.78.0"
toolchain: "stable"
cache-workspaces: "src/rust"
# Disable full debug symbol generation to speed up CI build and keep memory down
# "1" means line tables only, which is useful for panic tracebacks.
Expand All @@ -127,7 +127,7 @@ jobs:
run: |
cargo test --all-features -- --test-threads 1
clippy_and_benchmark:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
Expand Down
Loading