Skip to content

Commit

Permalink
github CI: add target for clang-built LKL.
Browse files Browse the repository at this point in the history
Add a new target to build LKL tests with LLVM toolchain using clang/lld.

Signed-off-by: Eugene Rodionov <[email protected]>
  • Loading branch information
rodionov committed Jan 27, 2023
1 parent f664d68 commit 9bc2d46
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
os: windows
runs_on: windows-2019
shell: msys2 {0}
- displayTargetName: clang-build
os: unix
runs_on: ubuntu-22.04
shell: bash
build_options: "LLVM=1 CROSS_COMPILE=x86_64-linux-gnu"
timeout-minutes: 100
env:
CCACHE_DIR: ${{ github.workspace }}/.ccache
Expand Down Expand Up @@ -93,6 +98,11 @@ jobs:
run: |
sudo apt update -y
sudo apt install -y ccache libjsmn-dev
- name: Install clang toolchain
if: runner.os == 'Linux'
run: |
sudo apt update -y
sudo apt install -y clang lld llvm
- name: Install patched binutils for Windows
if: runner.os == 'Windows'
run: |
Expand Down

0 comments on commit 9bc2d46

Please sign in to comment.