mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-20 05:00:09 +00:00
b2891256cb
GitHub is currently migrating its macos-latest runner to macOS 11: https://github.com/actions/virtual-environments/issues/4060 Unfortunately, installing VirtualBox and Vagrant on this new version of macOS is not easy, and the current macos-11 runner does not support running virtual machines using Vagrant. This issue is being fixed on https://github.com/actions/virtual-environments/pull/4010 . Until this Pull Request is merged, use macos-10.15 runner instead of macos-latest, to continue using Vagrant to run the SELinux testsuite in a virtual machine. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> Acked-by: Ondrej Mosnacek <omosnace@redhat.com>
24 lines
601 B
YAML
24 lines
601 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
|
|
# Use an old version of macOS until https://github.com/actions/virtual-environments/pull/4010 is merged.
|
|
runs-on: macos-10.15
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- 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
|