aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-23 14:58:52 +0100
committerGitHub <noreply@github.com>2020-12-23 14:58:52 +0100
commit7dc433a0c0efb236a2ab6fa4006a91aa02e26779 (patch)
treeb0a48cd22af9aaa9695b61d08499232dbe9f0f36 /.github/workflows/ci.yml
parent1078409875cacc5626a3961e08cf67c68049d22a (diff)
parent8d10d12ab344bdf6dfe0478e927c92278b4aac78 (diff)
downloadafl++-7dc433a0c0efb236a2ab6fa4006a91aa02e26779.tar.gz
Merge pull request #637 from AFLplusplus/dev
minor push to stable
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml27
1 files changed, 18 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1f7d23f4..31cfceaf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,4 +1,4 @@
-name: C/C++ CI
+name: CI
on:
push:
@@ -8,12 +8,21 @@ on:
jobs:
build:
-
- runs-on: ubuntu-latest
-
+ runs-on: '${{ matrix.os }}'
+ strategy:
+ matrix:
+ os: [ubuntu-20.04, ubuntu-18.04]
steps:
- - uses: actions/checkout@v2
- - name: make
- run: make
- - name: make tests
- run: make tests
+ - uses: actions/checkout@v2
+ - name: debug
+ run: apt-cache search plugin-dev | grep gcc- ; echo ; apt-cache search clang-format- | grep clang-format-
+ - name: install packages
+ run: sudo apt-get install -y -m -f --install-suggests build-essential git libtool libtool-bin automake bison libglib2.0-0 clang llvm-dev libc++-dev findutils libcmocka-dev python3-dev python3-setuptools
+ - name: compiler installed
+ run: gcc -v ; echo ; clang -v
+ - name: install gcc plugin
+ run: sudo apt-get install -y -m -f --install-suggests $(readlink /usr/bin/gcc)-plugin-dev
+ - name: build afl++
+ run: make distrib ASAN_BUILD=1
+ - name: run tests
+ run: sudo -E ./afl-system-config ; export AFL_SKIP_CPUFREQ=1 ; make tests