From 24dd35ef96ad1948132cee998d5e0909cfa2a5fc Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Sun, 26 Dec 2021 01:05:07 +0100 Subject: macos ci --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e936080e..0119985f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: macos: runs-on: macOS-latest env: - AFL_MAP_SIZE: 4000 + AFL_MAP_SIZE: 65536 AFL_SKIP_CPUFREQ: 1 steps: - uses: actions/checkout@v2 @@ -39,9 +39,11 @@ jobs: run: echo AFL_MAP_SIZE=$AFL_MAP_SIZE - name: install run: brew install make + - name: fix install + run: cd /usr/local/bin; ln -s gcc-* gcc; ln -s g++-* g++; which gcc; gcc -v - name: build - run: export CC=/usr/local/Cellar/llvm/*/bin/clang; export CXX="$CC"++; export LLVM_CONFIG=/usr/local/Cellar/llvm/*/bin/llvm-config; gmake ASAN_BUILD=1 + run: export PATH=/usr/local/Cellar/llvm/*/":$PATH"; export CC=/usr/local/Cellar/llvm/*/bin/clang; export CXX="$CC"++; export LLVM_CONFIG=/usr/local/Cellar/llvm/*/bin/llvm-config; sudo -E ./afl-system-config; gmake ASAN_BUILD=1 - name: frida run: export CC=/usr/local/Cellar/llvm/*/bin/clang; export CXX="$CC"++; cd frida_mode; gmake - name: run tests - run: sudo -E ./afl-system-config ; gmake tests + run: sudo -E ./afl-system-config; export PATH=/usr/local/Cellar/llvm/*/":/usr/local/bin:$PATH"; gmake tests -- cgit 1.4.1