Skip to content

Commit

Permalink
workflows: use install-llvm-action@v1 for llvm <= 7
Browse files Browse the repository at this point in the history
  • Loading branch information
airwoodix committed Aug 20, 2024
1 parent f8f9729 commit a25308b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
strategy:
matrix:
llvm-version:
- ["4.0", "4-0"]
- ["5.0", "5-0"]
- ["6.0", "6-0"]
- ["7.0", "7-0"]
- ["7.1", "7-0"]
- ["8.0", "8-0"]
- ["9.0", "9-0"]
Expand All @@ -47,8 +51,14 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install LLVM and Clang
- name: Install LLVM and Clang (LLVM >= 7.1)
uses: KyleMayes/install-llvm-action@v2
if: ${{ matrix.llvm-version[0] > 7 }}
with:
version: ${{ matrix.llvm-version[0] }}
- name: Install LLVM and Clang (LLVM <= 7)
uses: KyleMayes/install-llvm-action@v1
if: ${{ matrix.llvm-version[0] <= 7 }}
with:
version: ${{ matrix.llvm-version[0] }}
- name: llvm-config
Expand Down

0 comments on commit a25308b

Please sign in to comment.