about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-21 12:14:08 +0100
committervan Hauser <vh@thc.org>2020-12-21 12:14:08 +0100
commit2a0d066121266e55bfe538b1931c6b032be2dc90 (patch)
treefaaf2b832d3294daa93a31de7691679817b970fe
parent45a68760ee19739a7c1532d74486deb79dc6b9fd (diff)
downloadafl++-2a0d066121266e55bfe538b1931c6b032be2dc90.tar.gz
update ci
-rw-r--r--.github/workflows/ci.yml25
1 files 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