TCG trace plugin #39
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: 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 qemu | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: BinaryAnalysisPlatform/qemu | |
| path: qemu | |
| - name: Build for Hexagon | |
| run: | | |
| cd qemu | |
| mkdir build | |
| cd build | |
| ../configure --enable-plugins --target-list=parc-linux-user,sparc64-linux-user | |
| ninja |