Unverified Commit a0a1e6aa authored by Justice Adams's avatar Justice Adams Committed by GitHub
Browse files

[green dragon] install python deps in lldb ubuntu job (#195306)

Install CI deps inside the ubuntu container
parent 992210aa
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -40,6 +40,11 @@ pipeline {
                        checkout scm
                    }
                }
                timeout(10) {
                    dir('llvm-zorg') {
                        git url: 'https://github.com/llvm/llvm-zorg.git', branch: 'main'
                    }
                }
            }
        }

@@ -60,6 +65,8 @@ pipeline {
                        writeFile file: 'build.sh', text: '''#!/usr/bin/env bash
set -ex

pip3 install --break-system-packages -r /workspace/llvm-zorg/zorg/jenkins/jobs/requirements.txt

/usr/bin/cmake -G Ninja \
    -S /workspace/llvm-project/llvm \
    -B /workspace/llvm-build \
@@ -94,6 +101,10 @@ ninja -C /workspace/llvm-build check-lldb
                                --cap-add=SYS_PTRACE \\
                                --security-opt seccomp=unconfined \\
                                -e BUILD_TYPE=${params.BUILD_TYPE} \\
                                -e http_proxy \\
                                -e https_proxy \\
                                -e HTTP_PROXY \\
                                -e HTTPS_PROXY \\
                                -v "\${WORKSPACE}:/workspace" \\
                                ${env.DOCKER_IMAGE} \\
                                bash /workspace/build.sh