1
0

end-to-end testing for macOS

This commit is contained in:
dump_stack() 2023-04-06 13:59:44 +00:00
parent 17a4b746cc
commit 87ef1e42b5
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -11,3 +11,29 @@ jobs:
- name: Build - name: Build
run: go build run: go build
test-end-to-end:
name: End-to-End Testing
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- uses: docker-practice/actions-setup-docker@master
- name: Build
run: go build
- name: Install dependencies for tests
run: |
brew install qemu
- name: End-to-End Testing [Kernel Module]
run: |
cd examples/kernel-module
../../out-of-tree --log-level=debug kernel autogen --max=1
../../out-of-tree --log-level=debug pew --qemu-timeout=10m
- name: End-to-End Testing [Kernel Exploit]
run: |
cd examples/kernel-exploit
../../out-of-tree --log-level=debug kernel autogen --max=1
../../out-of-tree --log-level=debug pew --threshold=0 --qemu-timeout=10m