Attempting to limit runner to set users
This commit is contained in:
parent
4d200e2276
commit
b5df588336
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: pwd
|
- run: pwd
|
||||||
- run: find .
|
- run: echo "Building for $env:GITHUB_ACTOR"
|
||||||
- run: cat /etc/os-release
|
- run: cat /etc/os-release
|
||||||
- run: pacman-key --init
|
- run: pacman-key --init
|
||||||
- run: pacman --noconfirm -Sy archlinux-keyring
|
- run: pacman --noconfirm -Sy archlinux-keyring
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
run-qemu:
|
run-qemu:
|
||||||
name: qemu testbench
|
name: qemu testbench
|
||||||
|
if: ${{ github.actor == 'torxed' }}
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
@ -29,10 +30,11 @@ jobs:
|
||||||
EOF
|
EOF
|
||||||
- run: pwd
|
- run: pwd
|
||||||
- run: cp /usr/share/ovmf/x64/OVMF_VARS.fd ./tests/qemu/OVMF_VARS.fd
|
- run: cp /usr/share/ovmf/x64/OVMF_VARS.fd ./tests/qemu/OVMF_VARS.fd
|
||||||
|
- run: rm ./tests/qemu/archtest.img
|
||||||
- run: qemu-img create -f qcow2 ./tests/qemu/archtest.img 10G
|
- run: qemu-img create -f qcow2 ./tests/qemu/archtest.img 10G
|
||||||
- run: tree
|
- run: tree
|
||||||
- run: cat .screenrc_test
|
- run: cat .screenrc_test
|
||||||
- run: script -c "screen -c .screenrc_test"
|
- run: script -c "resize -s 24 80 && stty rows 24 && stty cols 80 && screen -c .screenrc_test"
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: archtest-pci_emulation
|
name: archtest-pci_emulation
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
|
import os
|
||||||
import logging
|
import logging
|
||||||
import asyncio
|
import asyncio
|
||||||
from testbase import TestBase
|
from testbase import TestBase
|
||||||
|
|
@ -170,3 +171,6 @@ class TestLeaveAllDefault(TestBase):
|
||||||
break
|
break
|
||||||
|
|
||||||
time.sleep(0.25)
|
time.sleep(0.25)
|
||||||
|
|
||||||
|
os.system('pkill tail')
|
||||||
|
exit(self.exit_code)
|
||||||
Loading…
Reference in New Issue