Skip to content

Fix fully_qualified_name shim guard for LLVM < 21 #46

Fix fully_qualified_name shim guard for LLVM < 21

Fix fully_qualified_name shim guard for LLVM < 21 #46

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
name: ${{matrix.ruby}} on ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
include:
# Ubuntu - full Ruby matrix
- { os: ubuntu-latest, ruby: "3.2" }
- { os: ubuntu-latest, ruby: "3.3" }
- { os: ubuntu-latest, ruby: "3.4" }
- { os: ubuntu-latest, ruby: "4.0" }
# macOS
- { os: macos-latest, ruby: "4.0" }
# Windows MinGW
- { os: windows-latest, ruby: "4.0" }
# Windows MSVC
- { os: windows-latest, ruby: "mswin" }
steps:
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
mingw: clang llvm
- name: Install LLVM and Clang (Ubuntu)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y llvm libclang-dev
- name: Install LLVM and Clang (macOS)
if: runner.os == 'macOS'
run: brew install llvm
- name: Run tests
timeout-minutes: 10
run: bundle exec rake test