mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-22 05:59:58 +00:00
73b9106dae
* Move from deprecated actions/setup-ruby to ruby/setup-ruby. * Bump python and ruby upper versions. * Bump Reference Policy version * Do not install recommend packages and output package resolution * Bump to macOS 12 macOS 10 is deprecated since 5/31/22 [1]. VirtualBox and Vagrant seems to be supported [2][3]. [1]: https://github.com/actions/virtual-environments/issues/5583 [2]: https://github.com/actions/virtual-environments/pull/5594 [3]: https://github.com/actions/virtual-environments/pull/5854 Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Acked-by: James Carter <jwcart2@gmail.com>
23 lines
489 B
YAML
23 lines
489 B
YAML
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
|
|
runs-on: macos-12
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- 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
|