nitro: improve console support #295
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Unit tests | |
| on: [pull_request] | |
| jobs: | |
| unit-tests-linux-x86_64: | |
| name: Unit tests (Linux x86_64) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup build environment | |
| uses: ./.github/actions/setup-build-env | |
| - name: Create a fake init | |
| run: touch init/init | |
| - name: Enable KVM group perms | |
| run: | | |
| echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules | |
| sudo udevadm control --reload-rules | |
| sudo udevadm trigger --name-match=kvm | |
| sudo usermod -a -G kvm $USER | |
| - name: Unit tests | |
| run: cargo test | |
| unit-tests-linux-aarch64: | |
| name: Unit tests (Linux aarch64) | |
| runs-on: self-hosted | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup build environment | |
| uses: ./.github/actions/setup-build-env | |
| - name: Create a fake init | |
| run: touch init/init | |
| - name: Unit tests | |
| run: cargo test | |