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: run KVM jobs on GitHub runners #748

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
pull_request:
merge_group:

env:
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: 'sudo -E'

jobs:
test:
name: Test
Expand All @@ -30,7 +33,7 @@ jobs:

integration-tests:
name: Integration Tests
runs-on: [self-hosted]
runs-on: ubuntu-latest
steps:
- name: Install gdb, libclang
run: |
Expand All @@ -50,7 +53,7 @@ jobs:

run_images:
name: Run images
runs-on: [self-hosted]
runs-on: ubuntu-latest
steps:
- name: Install libclang
run: |
Expand Down Expand Up @@ -135,7 +138,7 @@ jobs:

coverage:
name: Coverage
runs-on: [self-hosted]
runs-on: ubuntu-latest
steps:
- name: Install gdb, libclang
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/multicore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn multicore_test() {
dbg!(&caps);
let speedup = caps.get(1).unwrap().as_str().parse::<f64>().unwrap();
dbg!(&speedup);
if speedup < nr_cpus as f64 * 0.66 {
if speedup < nr_cpus as f64 * 0.5 {
panic!("Speedup of {speedup} is not enough for a CPU count of {nr_cpus}");
}
}
Expand Down
Loading