1
0
out-of-tree/.github/workflows/macos.yml

40 lines
957 B
YAML
Raw Normal View History

2019-08-31 09:51:06 +00:00
name: macOS
2019-08-31 08:28:38 +00:00
2020-09-15 11:05:27 +00:00
on: [push, pull_request]
2019-08-31 08:28:38 +00:00
jobs:
build:
2020-01-05 07:21:39 +00:00
name: Build on macOS
2019-08-31 08:28:38 +00:00
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
2019-08-31 09:51:06 +00:00
- name: Build
2019-08-31 08:28:38 +00:00
run: go build
2023-04-06 13:59:44 +00:00
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