Fix fully_qualified_name shim guard for LLVM < 21 #46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |