llvm-builder testing workflow (#164)

Co-authored-by: xermicus <cyrill@parity.io>
This commit is contained in:
Yuri Volkov
2025-02-25 12:39:03 +01:00
committed by GitHub
parent 9efbb4c0b4
commit f1bce4fe3f
2 changed files with 84 additions and 8 deletions
+43
View File
@@ -0,0 +1,43 @@
on:
pull_request:
types: [assigned, opened, synchronize, reopened]
paths:
- 'LLVM.lock'
- 'crates/llvm-builder/**'
- '.github/workflows/revive-llvm-test.yml'
jobs:
test:
strategy:
matrix:
runner: [parity-large, macos-14, macos-13]
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- name: Install apt dependencies
if: matrix.runner == 'parity-large'
run: |
sudo apt update && sudo apt-get install -y cmake ninja-build curl git libssl-dev pkg-config clang lld musl
- name: Install macos dependencies
if: matrix.runner == 'macos-14' || matrix.runner == 'macos-13'
run: |
brew install ninja
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: rust-src
rustflags: ""
- run: |
rustup show
cargo --version
cmake --version
bash --version
- name: Test llvm-builder
run: make test-llvm-builder
env:
RUST_LOG: trace