Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Use system compilers instead of custom ones to build s2e #89

Use system compilers instead of custom ones to build s2e

Use system compilers instead of custom ones to build s2e #89

Workflow file for this run

name: Build libs2e.so
on: [pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-22.04
clang_version: 15
- os: ubuntu-24.04
clang_version: 19
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Install common packages
run: |
set -ex
sudo dpkg --add-architecture i386 && sudo apt-get update
sudo apt-get install -y libelf-dev:i386
sudo apt-get -y install ca-certificates build-essential curl wget texinfo flex bison \
python-is-python3 python3-dev python3-venv python3-distro mingw-w64 lsb-release \
libdwarf-dev libelf-dev cmake \
libboost-dev zlib1g-dev libjemalloc-dev nasm pkg-config \
libmemcached-dev libpq-dev binutils-dev \
libboost-system-dev libboost-serialization-dev libboost-regex-dev \
libbsd-dev libpixman-1-dev \
libglib2.0-dev python3-docutils libpng-dev \
gcc-multilib g++-multilib libgomp1 unzip software-properties-common \
libprotobuf-dev protobuf-compiler protobuf-c-compiler \
libgmock-dev libgtest-dev libsoci-dev libcapstone-dev \
libcurl4-openssl-dev \
libedit-dev \
libpfm4-dev \
llvm-14-dev \
clang-format-14 \
libmlir-14-dev \
clang-14
- name: Install OS-specific clang version
run: |
set -ex
sudo apt-get install -y clang-${{ matrix.clang_version }}
- name: Install Ubuntu 24.04 packages
if: matrix.os == 'ubuntu-24.04'
run: |
set -ex
sudo apt-get install -y libpolly-14-dev
- name: Build libs2e.so
run: |
set -x
cd ..
mkdir build && cd build
SYSTEM_CLANG_VERSION=${{ matrix.clang_version }} make -f ../s2e/Makefile all
- run: echo "🍏 This job's status is ${{ job.status }}."