about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-12-25 23:47:38 +0100
committervanhauser-thc <vh@thc.org>2021-12-25 23:47:38 +0100
commitddc90e1176c5df7356fbc2d40eeb278630b39ef7 (patch)
tree89b489c302947a34b210f5bec8ff54f5028bb97c
parent47488dcd02a67683e1a904d3eb2b90069e5a93ec (diff)
downloadafl++-ddc90e1176c5df7356fbc2d40eeb278630b39ef7.tar.gz
macos ci
-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