Skip to content
Closed

[tmp] #602

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
2 changes: 1 addition & 1 deletion .github/workflows/Benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- uses: actions/checkout@v4

- uses: hyperlight-dev/ci-setup-workflow@v1.4.0
- uses: hyperlight-dev/ci-setup-workflow@remove-chgrp-kvm
with:
rust-toolchain: "1.85"
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CargoPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fetch-depth: 0
fetch-tags: true

- uses: hyperlight-dev/ci-setup-workflow@v1.4.0
- uses: hyperlight-dev/ci-setup-workflow@remove-chgrp-kvm
with:
rust-toolchain: "1.85"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/CreateRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: hyperlight-dev/ci-setup-workflow@v1.4.0
- uses: hyperlight-dev/ci-setup-workflow@remove-chgrp-kvm
with:
rust-toolchain: "1.85"
env:
Expand All @@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: hyperlight-dev/ci-setup-workflow@v1.4.0
- uses: hyperlight-dev/ci-setup-workflow@remove-chgrp-kvm
with:
rust-toolchain: "1.85"
env:
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
fetch-depth: 0
fetch-tags: true

- uses: hyperlight-dev/ci-setup-workflow@v1.4.0
- uses: hyperlight-dev/ci-setup-workflow@remove-chgrp-kvm
with:
rust-toolchain: "1.85"
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
components: rustfmt

- uses: hyperlight-dev/ci-setup-workflow@v1.4.0
- uses: hyperlight-dev/ci-setup-workflow@remove-chgrp-kvm
with:
rust-toolchain: "1.85"
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dep_build_guest_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: hyperlight-dev/ci-setup-workflow@v1.4.0
- uses: hyperlight-dev/ci-setup-workflow@remove-chgrp-kvm
with:
rust-toolchain: "1.85"
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dep_fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- uses: hyperlight-dev/ci-setup-workflow@v1.4.0
- uses: hyperlight-dev/ci-setup-workflow@remove-chgrp-kvm
with:
rust-toolchain: "1.85"
env:
Expand Down
23 changes: 22 additions & 1 deletion .github/workflows/dep_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
with:
components: rustfmt

- uses: hyperlight-dev/ci-setup-workflow@v1.4.0
- uses: hyperlight-dev/ci-setup-workflow@remove-chgrp-kvm
with:
rust-toolchain: "1.85"
env:
Expand All @@ -73,6 +73,27 @@ jobs:
- name: Ensure up-to-date Cargo.lock
run: |
cargo fetch --locked

- name: check groups
run: |
whoami
groups
ls -la /dev/kvm
# add myself to kvm group
sudo usermod -aG kvm $USER
# check if I am in kvm group
groups $USER
# enter the kvm group
su - $USER
groups
if: matrix.hypervisor == 'kvm'

- name: test groups
run: |
whoami
groups
ls -la /dev/kvm
if: matrix.hypervisor == 'kvm'

- name: Get gh action service name
if: ${{ (runner.os == 'Windows' )}}
Expand Down
Loading