From 7f418b30ac7d2713860c098353d0d4a2bd4678cc Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 28 Dec 2019 00:53:00 +0000 Subject: [PATCH] Add circleci configuration for macOS --- .circleci/config.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6e69362 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,24 @@ +version: 2 +jobs: + build: + macos: + steps: + - checkout + - run: + name: Install dependencies + command: brew install go qemu + - run: + name: Build + command: go build + - run: + name: End-to-End Testing [Kernel Module] + command: | + cd examples/kernel-module + ../../out-of-tree kernel autogen --max=1 + ../../out-of-tree pew --qemu-timeout=10m + - run: + name: End-to-End Testing [Kernel Exploit] + command: | + cd examples/kernel-exploit + ../../out-of-tree kernel autogen --max=1 + ../../out-of-tree pew --threshold=0 --qemu-timeout=10m