aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-21 11:56:01 +0100
committervan Hauser <vh@thc.org>2020-12-21 11:56:01 +0100
commited85d5374b83c414e6219f7a3927cd8c160a7f37 (patch)
treeb0b14f7602ad86574df7b91cf9a8109a8e7deffb /.github
parent47e04548d46ffdd17d82d9528be744641de058b6 (diff)
downloadAFLplusplus-ed85d5374b83c414e6219f7a3927cd8c160a7f37.tar.gz
switch to github actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 00000000..469ee6d0
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,21 @@
+name: CI
+'on':
+ push:
+ branches:
+ - stable, dev
+ pull_request:
+ branches:
+ - stable, dev
+jobs:
+ Build:
+ runs-on: '${{ matrix.os }}'
+ strategy:
+ matrix:
+ os: [ubuntu-20.04, ubuntu-18.04]
+ steps:
+ - uses: actions/checkout@v2
+ - run: sudo apt install -y git libtool libtool-bin automake bison libglib2.0-0 build-essential clang gcc gcc-plugin-dev libc++-dev findutils libcmocka-dev python3-setuptools
+ - run: gcc -v
+ - run: clang -v
+ - run: sudo -E ./afl-system-config ; sudo sysctl -w kernel.shmmax=10000000000 ; export AFL_SKIP_CPUFREQ=1 ; make distrib ASAN_BUILD=1
+ - run: make tests