-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup CI for Risc V testing with clang 17 and 18
- Loading branch information
1 parent
71c647a
commit eb9e0e4
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -16,6 +15,9 @@ jobs: | |
- 128 | ||
- 256 | ||
- 512 | ||
LLVM_VERSION: | ||
- 17 | ||
- 18 | ||
steps: | ||
- name: Setup GCC | ||
run: | | ||
|
@@ -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] | ||
|