From 13353431576b973ff4648c1b2d580497d2ce40d6 Mon Sep 17 00:00:00 2001 From: Christian von Elm Date: Wed, 11 Dec 2024 08:47:31 +0100 Subject: [PATCH] Install radare2 manually --- .github/workflows/cmake.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 8676aa62..3e7e2cf3 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -24,10 +24,8 @@ jobs: sudo apt-get update sudo apt-get install binutils-dev libiberty-dev libsensors-dev libpfm4-dev libaudit-dev sudo pip install git-archive-all - wget https://github.com/radareorg/radare2/releases/download/5.9.8/radare2-dev_5.9.8_amd64.deb - wget https://github.com/radareorg/radare2/releases/download/5.9.8/radare2_5.9.8_amd64.deb - sudo dpkg -i radare2-dev_5.9.8_amd64.deb - sudo dpkg -i radare2_5.9.8_amd64.deb + wget https://github.com/radareorg/radare2/releases/download/5.9.8/radare2-5.9.8-static.tar.xz + tar xf radare2-5.9.8-static.tar.xz -C /opt - name: Cache OTF2 id: cache-otf2 uses: actions/cache@v2 @@ -45,7 +43,7 @@ jobs: - name: Run CMake configure env: CXX: ${{ matrix.compiler }} - run: cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DUSE_HW_BREAKPOINT_COMPAT=${{ matrix.hw_breakpoint }}} + run: cmake . -DCMAKE_PREFIX_PATH=/opt/r2-static -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DUSE_HW_BREAKPOINT_COMPAT=${{ matrix.hw_breakpoint }}} - name: Build run: make -j 2 - name: Create source tarball