Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ jobs:
- rust: beta
llvm: 21
exclude-features: default,llvm-20,rust-llvm-20
- rust: nightly
llvm: 21
exclude-features: llvm-20,rust-llvm-20
# TODO: enable when llvm-sys 221.x is released
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be released, mind updating this?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumping the version here would trigger a domino of other issues I'm solving in #328, like:

  • necessity of bumping aya-rustc-llvm-proxy
  • using the new IR read helper (only for LLVM 22)
  • adjusting the features in Cargo.toml

I'm fine with the temporary comment here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go for it

# - rust: nightly
# llvm: 22
# exclude-features: llvm-20,llvm-21,rust-llvm-20,rust-llvm-21
platform:
# Rust CI ships only one flavor of libLLVM, dynamic or static, per
# target. Linux GNU targets come with dynamic ones. Apple and Linux
Expand All @@ -98,8 +99,10 @@ jobs:
- rust-ci
include:
# Currently we build LLVM from source only for Linux x86_64.
# Keep LLVM 21 here until aya-rs/llvm-project has a 22.x branch.
# Using nightly before https://github.com/rust-lang/rust/pull/150722
- toolchain:
rust: nightly
rust: nightly-2026-01-28
llvm: 21
exclude-features: llvm-20,rust-llvm-20
platform:
Expand Down Expand Up @@ -307,6 +310,10 @@ jobs:
cargo install --path . --no-default-features --features \
${{ env.LLVM_FEATURES_DYNAMIC }}

- name: Install autopoint for aya integration tests
if: runner.os == 'Linux' && matrix.toolchain.rust == 'nightly'
run: sudo apt -y install autopoint

- name: Run aya integration tests
if: runner.os == 'Linux' && matrix.toolchain.rust == 'nightly'
working-directory: aya
Expand Down
Loading