diff options
| author | Tom Stellard <tstellar@redhat.com> | 2020-04-17 00:48:20 +0000 |
|---|---|---|
| committer | Tom Stellard <tstellar@redhat.com> | 2020-04-29 11:37:27 -0700 |
| commit | efeb1cead5b58c9f7792a5280af9fea9a70e44b2 (patch) | |
| tree | b3cee31fec1382ab34ca0b4e0cbff300d6b5c184 /.github/workflows | |
| parent | d2071b8fcdc5e8794d467cec9ebab735d09218bf (diff) | |
| download | bcm5719-llvm-efeb1cead5b58c9f7792a5280af9fea9a70e44b2.tar.gz bcm5719-llvm-efeb1cead5b58c9f7792a5280af9fea9a70e44b2.zip | |
Add GitHub action for running lldb tests
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/lldb-tests.yml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/.github/workflows/lldb-tests.yml b/.github/workflows/lldb-tests.yml new file mode 100644 index 00000000000..ed6912ae328 --- /dev/null +++ b/.github/workflows/lldb-tests.yml @@ -0,0 +1,47 @@ +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-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: "" |

