Merge pull request #2740 from cfallin/fix-lldb-ci

Explicitly install LLDB in CI to fix intermittent failure on Ubuntu 20.04 image.
This commit is contained in:
Chris Fallin
2021-03-18 12:34:52 -07:00
committed by GitHub

View File

@@ -287,19 +287,21 @@ jobs:
# Test debug (DWARF) related functionality. # Test debug (DWARF) related functionality.
- run: | - run: |
sudo apt-get update && sudo apt-get install -y gdb sudo apt-get update && sudo apt-get install -y gdb lldb
cargo test test_debug_dwarf -- --ignored --test-threads 1 cargo test test_debug_dwarf -- --ignored --test-threads 1
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
env: env:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
LLDB: /usr/bin/lldb
# Test debug (DWARF) related functionality on new backend. # Test debug (DWARF) related functionality on new backend.
- run: | - run: |
sudo apt-get update && sudo apt-get install -y gdb sudo apt-get update && sudo apt-get install -y gdb lldb
cargo test --features experimental_x64 test_debug_dwarf -- --ignored --test-threads 1 --test debug:: cargo test --features experimental_x64 test_debug_dwarf -- --ignored --test-threads 1 --test debug::
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
env: env:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
LLDB: /usr/bin/lldb
# Test uffd functionality on Linux # Test uffd functionality on Linux
- run: | - run: |