Skip to content

Commit

Permalink
fix: missing polly static library (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wodann authored May 14, 2023
1 parent 2a28ee7 commit 95a9612
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ jobs:
with:
submodules: true

- name: Install LLVM
uses: ./.github/actions/install-llvm

- name: Install packages
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install libasound2-dev libudev-dev
- name: Install LLVM
uses: ./.github/actions/install-llvm

- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest", "windows-latest", "macOS-latest" ]
os: ["ubuntu-latest", "windows-latest", "macOS-latest"]
include:
- RUSTFLAGS: "-Dwarnings"
CARGO_INCREMENTAL: 1
Expand Down Expand Up @@ -297,4 +297,4 @@ jobs:
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
args: --all-features
4 changes: 3 additions & 1 deletion scripts/install-llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ add-apt-repository "${REPO_NAME}"
apt-get update

# Install required packages
apt-get install -y llvm-$LLVM_VERSION llvm-$LLVM_VERSION-* liblld-$LLVM_VERSION* libclang-common-$LLVM_VERSION-dev
apt-get install -y llvm-$LLVM_VERSION llvm-$LLVM_VERSION-* liblld-$LLVM_VERSION* libclang-rt-$LLVM_VERSION-dev

apt download libpolly-$LLVM_VERSION-dev && dpkg --force-all -i libpolly-$LLVM_VERSION-dev*

0 comments on commit 95a9612

Please sign in to comment.