From 97ebd45b62fb8a6b89f311dc26ebfda08c0a0e24 Mon Sep 17 00:00:00 2001 From: billow Date: Fri, 10 May 2024 12:36:41 +0800 Subject: [PATCH] Try to fix rust workflow --- .github/workflows/rust.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1799d4f..2db622a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -26,7 +26,7 @@ jobs: uses: actions/cache@v4 with: path: rizin/build - key: ${{ runner.os }}-primes + key: ${{ runner.os }}-rizin - name: Build rizin run: | cd rizin @@ -34,10 +34,10 @@ jobs: meson setup --debug --buildtype=release --prefix=$(realpath $HOME/.local) build ninja install -C build - run: rustup toolchain install stable --profile minimal - - uses: Swatinem/rust-cache@v2 - uses: actions/checkout@v4 + - uses: Swatinem/rust-cache@v2 - name: Build - run: + run: | export LD_LIBRARY_PATH=${HOME}/lib/$(uname -m)-linux-gnu:${HOME}/lib:${HOME}/lib64:${LD_LIBRARY_PATH} cargo build --verbose - name: Run tests