2020-12-30 09:39:15 +00:00
|
|
|
name: Run SELinux testsuite in a virtual machine
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
vm_testsuite:
|
|
|
|
|
|
|
|
# Use VirtualBox+vagrant on macOS, as described in https://github.com/actions/virtual-environments/issues/433
|
2022-08-08 17:36:52 +00:00
|
|
|
runs-on: macos-12
|
2020-12-30 09:39:15 +00:00
|
|
|
|
|
|
|
steps:
|
2023-11-09 15:21:50 +00:00
|
|
|
- uses: actions/checkout@v4
|
2020-12-30 09:39:15 +00:00
|
|
|
|
|
|
|
- name: Create Vagrant VM
|
|
|
|
run: |
|
|
|
|
cd scripts/ci
|
|
|
|
vagrant up
|
|
|
|
|
|
|
|
- name: Run SELinux testsuite in the VM
|
|
|
|
run: |
|
|
|
|
cd scripts/ci
|
|
|
|
vagrant ssh -- ./run-selinux-test.sh
|