diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 8676aa62..68b4134c 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -24,16 +24,15 @@ 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 with: path: /opt/otf2/ key: ${{ matrix.os }}-otf2-${OTF2_VERSION} + - name: - name: Install OTF2 if: steps.cache-otf2.outputs.cache-hit != 'true' run: | @@ -45,7 +44,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