From 2a0d066121266e55bfe538b1931c6b032be2dc90 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Mon, 21 Dec 2020 12:14:08 +0100 Subject: update ci --- .github/workflows/ci.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 469ee6d0..694d2316 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,21 +1,24 @@ name: CI -'on': + +on: push: - branches: - - stable, dev + branches: [ stable, dev ] pull_request: - branches: - - stable, dev + branches: [ stable, dev ] + jobs: - Build: + 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 + - name: install packages + run: sudo apt-get install -y -m -f --install-suggests git libtool libtool-bin automake bison libglib2.0-0 build-essential clang gcc gcc-plugin-dev libc++-dev findutils libcmocka-dev python3-setuptools + - name: compiler installed + run: gcc -v ; clang -v + - name: build afl++ + run: make distrib ASAN_BUILD=1 + - name: run tests + run: sudo -E ./afl-system-config ; sudo sysctl -w kernel.shmmax=10000000000 ; export AFL_SKIP_CPUFREQ=1 ; make tests -- cgit 1.4.1