about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 35051a20..533628fa 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,7 +7,7 @@ on:
     branches: [ stable, dev ]
 
 jobs:
-  build:
+  linux:
     runs-on: '${{ matrix.os }}'
     strategy:
       matrix:
@@ -28,3 +28,15 @@ jobs:
         run: make distrib ASAN_BUILD=1
       - name: run tests
         run: sudo -E ./afl-system-config ; export AFL_SKIP_CPUFREQ=1 ; make tests
+  macos:
+    runs-on: macOS-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: install
+        run: brew help; brew install wget make llvm
+      - name: build
+        run: export CC=/usr/local/Cellar/llvm/*/bin/clang; export CXX="$CC"++; make ASAN_BUILD=1
+      - name: frida
+        run: export CC=/usr/local/Cellar/llvm/*/bin/clang; export CXX="$CC"++; cd frida_mode; make
+      - name: run tests
+        run: sudo -E ./afl-system-config ; export AFL_SKIP_CPUFREQ=1 ; make tests