Skip to content

Tracewrap 8.1 hexagon #36

Tracewrap 8.1 hexagon

Tracewrap 8.1 hexagon #36

Workflow file for this run

name: Build target user
on: [pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Copy source.list file to include deb-src
run: |
sudo cp /etc/apt/sources.list /etc/apt/sources.list.d/tmp.list
sudo sed -i "s/# deb-src/deb-src/g" /etc/apt/sources.list.d/tmp.list
- name: Install deps
run: |
sudo apt-get update
sudo apt-get --no-install-recommends -y build-dep qemu
sudo apt-get install -y autoconf libtool protobuf-c-compiler libprotobuf-c-dev
pip3 install --user ninja
- name: Install OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.14.x
dune-cache: true
opam-disable-sandboxing: true
- name: Install piqi
run: |
opam install piqi
- name: Checkout bap-frames
uses: actions/checkout@v4
with:
repository: BinaryAnalysisPlatform/bap-frames
path: bap-frames
- name: Checkout qemu
uses: actions/checkout@v4
with:
repository: BinaryAnalysisPlatform/qemu
path: qemu
ref: tracewrap-8.1-hexagon
- name: Build for Hexagon
run: |
cd qemu
opam exec -- ./configure --prefix=$HOME --with-tracewrap="$GITHUB_WORKSPACE"/bap-frames --target-list=hexagon-linux-user
ninja -C build