From 3fb1fba247cf6799e7f4bedc2c443debbcd25d57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E5=8D=9A=E6=96=87?= Date: Sun, 14 Jan 2024 22:38:26 +0800 Subject: [PATCH] fix: add build dependencies for CI --- .github/workflows/rust.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 99549b8..1cc3a69 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -13,12 +13,19 @@ jobs: build: runs-on: ubuntu-latest + env: + LLVM_SYS_160_PREFIX: ${{ runner.temp }}/llvm-16 steps: - uses: ConorMacBride/install-package@v1 with: apt: libpango1.0-dev libgtk-4-dev + - uses: KyleMayes/install-llvm-action@v1 + with: + version: "16.0" + directory: $LLVM_SYS_160_PREFIX + - uses: actions/checkout@v3 - name: Build run: cargo build --verbose