diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c4b473e..887720c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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 @@ -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++