Skip to content

Commit

Permalink
[CI] fix LLVM installation on Linux CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthapz committed Nov 2, 2024
1 parent 1a49a42 commit d2d3a31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,14 @@ jobs:
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: "19.1.3"
version: "19.1"
directory: ${{ runner.temp }}/llvm
arch: ${{ matrix.arch }}

- name: Configure & Build
id: build
run: |
xmake f -v -a ${{ (matrix.arch == "x64") && "x86_64" || (matrix.arch == "arm64") && "aarch64" || matrix.arch }} --yes -m ${{ (matrix.mode == 'release' || matrix.mode == 'debug') && matrix.mode || 'releasedbg' }} -k ${{ matrix.kind }} --sanitizers=${{ matrix.mode == 'debug' && 'y' || 'n' }} --examples=y --tests=y --toolchain=llvm --mold=y --runtimes="c++_shared" --sdk="${{ runner.temp }}/llvm"
xmake f -v -a ${{ (matrix.arch == 'x64') && 'x86_64' || (matrix.arch == 'arm64') && 'aarch64' || matrix.arch }} --yes -m ${{ (matrix.mode == 'release' || matrix.mode == 'debug') && matrix.mode || 'releasedbg' }} -k ${{ matrix.kind }} --sanitizers=${{ matrix.mode == 'debug' && 'y' || 'n' }} --examples=y --tests=y --toolchain=llvm --mold=y --runtimes="c++_shared" --sdk="${{ runner.temp }}/llvm"
xmake b -v
- name: Tests
Expand Down

0 comments on commit d2d3a31

Please sign in to comment.