| name: lldb Tests |
| |
| on: |
| push: |
| branches: |
| - 'release/**' |
| paths: |
| - 'clang/**' |
| - 'llvm/**' |
| - 'lldb/**' |
| - '.github/workflows/lldb-tests.yml' |
| pull_request: |
| paths: |
| - 'clang/**' |
| - 'llvm/**' |
| - 'lldb/**' |
| - '.github/workflows/lldb-tests.yml' |
| |
| jobs: |
| build_lldb: |
| name: lldb build |
| runs-on: ${{ matrix.os }} |
| strategy: |
| fail-fast: false |
| matrix: |
| os: |
| - ubuntu-latest |
| - windows-latest |
| # macOS build disabled due to: llvm.org/PR46190 |
| #- macOS-latest |
| steps: |
| - name: Setup Windows |
| if: startsWith(matrix.os, 'windows') |
| uses: llvm/actions/setup-windows@master |
| with: |
| arch: amd64 |
| - name: Install Ninja |
| uses: llvm/actions/install-ninja@master |
| - uses: actions/checkout@v1 |
| with: |
| fetch-depth: 1 |
| - name: Build lldb |
| uses: llvm/actions/build-test-llvm-project@master |
| with: |
| # Mac OS requries that libcxx is enabled for lldb tests, so we need to disable them. |
| cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="clang;lldb" -DCMAKE_BUILD_TYPE=Release -DLLDB_INCLUDE_TESTS=OFF |
| # check-lldb is not consistent, so we only build lldb. |
| build_target: "" |