Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthapz committed Feb 6, 2024
1 parent ad4697e commit 859287a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ jobs:
- name: Configure & Build
id: build
run: |
xmake f -vD --yes -m ${{ (matrix.mode == 'release' || matrix.mode == 'debug') && matrix.mode || 'releasedbg' }} -k ${{ matrix.kind }} --sanitizers=${{ matrix.mode == 'asan' && 'y' || 'n' }} --enable_examples=y --enable_tests=y --enable_gpu=n --libc++=y --toolchain=llvm --mold=y --sdk=/opt/llvm-git/usr --ldflags="-L/opt/llvm-git/usr/lib" --shflags="-L/opt/llvm-git/usr/lib"
xmake b -vD
xmake f -v --yes -m ${{ (matrix.mode == 'release' || matrix.mode == 'debug') && matrix.mode || 'releasedbg' }} -k ${{ matrix.kind }} --sanitizers=${{ matrix.mode == 'asan' && 'y' || 'n' }} --examples=y --tests=y --toolchain=llvm --mold=y --runtimes="c++_shared"
xmake b -v
- name: Tests
run: LD_LIBRARY_PATH="/opt/llvm-git/usr/lib" xmake test -vD
run: LD_LIBRARY_PATH="/opt/llvm-git/usr/lib" xmake test -v

- name: Installation
run: xmake install -vD --installdir="${{ runner.workspace }}/output"
run: xmake install -v --installdir="${{ runner.workspace }}/output"

- name: Upload artifacts
id: upload
Expand Down

0 comments on commit 859287a

Please sign in to comment.