github actions split into separate workflows #5673
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: LLDB | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| format_tests: | |
| name: LLDB formatter tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| toolchain: 1.87 | |
| components: llvm-tools-preview | |
| cache: false | |
| - name: Download vscode-lldb | |
| uses: robinraju/release-downloader@v1 | |
| with: | |
| repository: vadimcn/vscode-lldb | |
| latest: true | |
| fileName: codelldb-linux-x64.vsix | |
| - name: Setup vscode-lldb | |
| run: | | |
| unzip codelldb-linux-x64.vsix -d vscode-lldb | |
| mkdir -p "$HOME"/.vscode/extensions/vadimcn.vscode-lldb | |
| mv vscode-lldb/extension/* "$HOME"/.vscode/extensions/vadimcn.vscode-lldb | |
| - name: Run the rust tests | |
| run: | | |
| cd tools/rust-debugger/format-tests | |
| # Build with explicit debug info for LLDB compatibility | |
| export RUSTFLAGS="-C debuginfo=2 -C opt-level=0" | |
| cargo build | |
| cargo test |