Skip to content

Remove references to fmt in the binaryninja-api patch #44

Remove references to fmt in the binaryninja-api patch

Remove references to fmt in the binaryninja-api patch #44

Workflow file for this run

name: Build
on:
push:
pull_request:
branches:
- master
env:
CONFIGURE_PRESET: default-release
jobs:
build:
strategy:
matrix:
api-version:
- version: older-dev
ref: e1542ed
abi: 49
- name: dev
ref: dev
abi: 51
platform:
- name: ubuntu
binary: /build/libbinja-msvc.so
- name: windows
binary: \build\Debug\binja-msvc.dll
- name: macos
binary: /build/libbinja-msvc.dylib
runs-on: ${{matrix.platform.name}}-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Fetch binaryninja-api
uses: actions/checkout@v4
with:
repository: Vector35/binaryninja-api
ref: ${{matrix.api-version.ref}}
path: binaryninja-api
submodules: recursive
- name: Apply binaryninja-api patch
working-directory: ${{github.workspace}}/binaryninja-api
run: git apply ../.github/binaryninja-api-headless.patch
- name: Build
run: |
cmake -S . -B build -DHEADLESS=1 -DBN_INSTALL_DIR=binaryninja-api -DBN_API_PATH=binaryninja-api
cmake --build build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: lib-${{matrix.platform.runs_on}}-${{matrix.api-version.name}}${{matrix.api-version.abi}}
path: ${{github.workspace}}${{matrix.platform.binary}}
if-no-files-found: error