Skip to content

Commit

Permalink
Setup CI for Risc V testing with clang 17 and 18
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-sans-paille committed Oct 15, 2024
1 parent 71c647a commit eb9e0e4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/cross-rvv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}
cancel-in-progress: true
env:
LLVM_VERSION: "17"
GCC_VERSION: "12"
jobs:
build:
Expand All @@ -16,6 +15,9 @@ jobs:
- 128
- 256
- 512
LLVM_VERSION:
- 17
- 18
steps:
- name: Setup GCC
run: |
Expand All @@ -28,9 +30,9 @@ jobs:
# Install latest LLVM stable
curl -o llvm.sh https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh ${LLVM_VERSION}
sudo ln -srf $(which clang-${LLVM_VERSION}) /usr/bin/clang
sudo ln -srf $(which clang++-${LLVM_VERSION}) /usr/bin/clang++
sudo ./llvm.sh ${{ matrix.LLVM_VERSION }}
sudo ln -srf $(which clang-${{ matrix.LLVM_VERSION }}) /usr/bin/clang
sudo ln -srf $(which clang++-${{ matrix.LLVM_VERSION }}) /usr/bin/clang++
rm llvm.sh
- name: Setup QEMU
uses: docker/[email protected]
Expand Down

0 comments on commit eb9e0e4

Please sign in to comment.