From 5f58f239641ec53c395652da36453b1e42f23e32 Mon Sep 17 00:00:00 2001 From: Keming Date: Fri, 1 Nov 2024 17:19:32 +0800 Subject: [PATCH] fix pgrx build dependencies Signed-off-by: Keming --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index afc961f..fd2abe4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -37,7 +37,6 @@ env: jobs: test: runs-on: ubuntu-latest - timeout-minutes: 30 strategy: matrix: arch: ["x86_64", "aarch64"] @@ -51,7 +50,8 @@ jobs: sudo apt-get remove -y '^postgres.*' '^libpq.*' '^clang.*' '^llvm.*' '^libclang.*' '^libllvm.*' '^mono-llvm.*' sudo apt-get purge -y '^postgres.*' '^libpq.*' '^clang.*' '^llvm.*' '^libclang.*' '^libllvm.*' '^mono-llvm.*' sudo apt-get update - sudo apt-get install -y build-essential crossbuild-essential-arm64 + sudo apt-get install -y build-essential crossbuild-essential-arm64 clang + sudo apt-get install -y libreadline-dev zlib1g-dev flex bison libxml2-dev libxslt-dev libssl-dev libxml2-utils xsltproc ccache pkg-config sudo apt-get install -y qemu-user-static touch ~/.cargo/config.toml echo 'target.aarch64-unknown-linux-gnu.linker = "aarch64-linux-gnu-gcc"' >> ~/.cargo/config.toml