Skip to content

Fix compatibility with rizin 0.7.3 (#30) #61

Fix compatibility with rizin 0.7.3 (#30)

Fix compatibility with rizin 0.7.3 (#30) #61

Workflow file for this run

name: CI
on:
push:
branches:
- dev
- stable
- 'test-*'
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y install ninja-build qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5svg5-dev qttools5-dev
echo "meson==0.61.1 --hash=sha256:81113785106d485e38d85b92169dca112e6e077880731ac37d29fc9898e1efb5" > requirements.txt
sudo pip3 install -r requirements.txt # ubuntu meson is too old
- name: Build and install rizin
run: |
git clone https://github.com/rizinorg/rizin
cd rizin
meson build --prefix=/usr
ninja -C build
sudo ninja -C build install
- name: Build and install cutter
run: |
git clone --recursive https://github.com/rizinorg/cutter
cd cutter
cmake -Bbuild -GNinja -DCUTTER_USE_BUNDLED_RIZIN=OFF -DCMAKE_INSTALL_PREFIX=/usr
ninja -C build
sudo ninja -C build install
- name: Build rz-retdec
run: |
cmake -Bbuild -GNinja -DCMAKE_INSTALL_PREFIX=$HOME/.local -DBUILD_CUTTER_PLUGIN=ON
ninja -C build
ninja -C build install
- name: Run tests
run: make -C test