1
0

Test all examples

This commit is contained in:
dump_stack() 2023-05-10 10:20:15 +00:00
parent b0dae2fc69
commit bc9eea879d
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -30,7 +30,7 @@ jobs:
run: go test -parallel 1 -v ./... run: go test -parallel 1 -v ./...
test-end-to-end: test-end-to-end:
name: E2E Test module/exploit name: E2E Testing (Examples)
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
@ -55,6 +55,18 @@ jobs:
../../out-of-tree --log-level=debug kernel autogen --max=1 ../../out-of-tree --log-level=debug kernel autogen --max=1
../../out-of-tree --log-level=debug pew --threshold=0 --qemu-timeout=10m ../../out-of-tree --log-level=debug pew --threshold=0 --qemu-timeout=10m
- name: End-to-End Testing [Script]
run: |
cd examples/script
../../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 [Preload]
run: |
cd examples/preload
../../out-of-tree --log-level=debug kernel autogen --max=1
../../out-of-tree --log-level=debug pew --qemu-timeout=10m
- name: Archive logs - name: Archive logs
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
@ -62,7 +74,7 @@ jobs:
path: /home/runner/.out-of-tree/logs/out-of-tree.log path: /home/runner/.out-of-tree/logs/out-of-tree.log
test-end-to-end-distros: test-end-to-end-distros:
name: E2E Test script name: E2E Testing
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy: