Skip to content

build: Update cmake command in ci.yml for better build process #9

build: Update cmake command in ci.yml for better build process

build: Update cmake command in ci.yml for better build process #9

Workflow file for this run

name: End to End
on:
push:
branches:
- main
paths:
- 'srcs/**'
- 'tests/**'
- 'CMakeLists.txt'
- 'e2e_tests/**'
- '.github/workflows/e2e.yml'
jobs:
linux:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: [ubuntu-22.04]
env:
AFL_SKIP_CPUFREQ: 1
AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES: 1
CC: gcc
CXX: g++
POLYGLOT_ROOT: ${{ github.workspace }}
steps:
- uses: actions/checkout@v3
- name: install packages
run: sudo apt-get install -y build-essential clang llvm-dev libc++-dev python3-dev python3-setuptools cmake git python3-pip lcov ninja-build
- name: pull submodule
run: git submodule update --init
- name: build afl
run: cd AFLplusplus && make -j && sudo ./afl-system-config
- name: install conan
run: pip3 install conan fire
- name: install conan profile
run: conan profile detect
- name: end to end test
run: cd e2e_tests && bash ./run.sh