diff options
author | vanhauser-thc <vh@thc.org> | 2021-12-26 01:05:07 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-12-26 01:05:07 +0100 |
commit | 24dd35ef96ad1948132cee998d5e0909cfa2a5fc (patch) | |
tree | 3fb6d12713eb5784f58a730d90fd555d9b50906e /.github | |
parent | 8217b5ff81f08a77c376eec1db3a386f7d8ce23f (diff) | |
download | AFLplusplus-24dd35ef96ad1948132cee998d5e0909cfa2a5fc.tar.gz |
macos ci
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 8 |
1 files changed, 5 insertions, 3 deletions
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 |