Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ jobs:
build:
name: Test ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-14
- ubuntu-22.04

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -22,6 +24,10 @@ jobs:
if: matrix.os == 'macos-14'
run: brew install ninja

- name: "Install build dependencies"
if: matrix.os == 'ubuntu-22.04'
run: sudo apt install -y cmake ninja-build

- name: Restore LLVM cache
id: llvm-cache
uses: actions/cache@v4
Expand Down Expand Up @@ -49,7 +55,7 @@ jobs:

- name: "LLVM: Build"
if: steps.llvm-cache.outputs.cache-hit != 'true'
run: cd llvm/build && ninja libIndexStore.dylib FileCheck
run: cd llvm/build && ninja IndexStore FileCheck

- name: "index-import: CMake"
run: mkdir build && cmake -B build -G Ninja -DClang_DIR=./llvm/build/lib/cmake/clang/ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
Expand Down
Loading