Skip to content

Major refactor

Major refactor #17

Workflow file for this run

name: LLVMParty
on: [push, pull_request]
# Automatically cancel previous runs of this workflow on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
llvm:
- "15.0.7"
- "16.0.6"
- "17.0.6"
- "18.1.8"
- "19.1.7"
- "20.1.8"
- "21.1.1"
container:
image: ghcr.io/llvmparty/remill/cxx-common:22.04-llvm${{ matrix.llvm }}
steps:
- uses: actions/checkout@v5
name: Checkout
- name: Configure git
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Install Python Test Dependencies
shell: bash
run: |
pip3 install --user ./scripts/diff_tester_export_insns
- name: Build
run: |
cmake -B build -G Ninja
cmake --build build
cmake --install build
- name: Smoketests with installed executable
shell: bash
run: |
LLVM_VERSION=${{ matrix.llvm }}
LLVM_MAJOR=${LLVM_VERSION%%.*}
remill-lift-$LLVM_MAJOR --arch amd64 --ir_out /dev/stdout --bytes c704ba01000000
remill-lift-$LLVM_MAJOR --arch aarch64 --ir_out /dev/stdout --address 0x400544 --bytes FD7BBFA90000009000601891FD030091B7FFFF97E0031F2AFD7BC1A8C0035FD6
remill-lift-$LLVM_MAJOR --arch aarch32 -ir_out /dev/stderr --bytes 0cd04de208008de504108de500208de508309de504009de500109de5903122e0c20fa0e110109fe5001091e5002081e5040081e50cd08de21eff2fe14000000000000000
- name: Tests
run: |
cmake --build build --target test_dependencies
env CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test