GHA/torture: prefer pip --break-system-packages for speed

Follow-up to c5e3d8ba94 #14972

Closes #15071
This commit is contained in:
Viktor Szakats 2024-09-27 00:46:26 +02:00
parent fcc89619d9
commit 6b2824dae1
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -61,9 +61,7 @@ jobs:
steps: steps:
- run: | - run: |
sudo apt-get install cmake ninja-build pkgconf stunnel4 ${{ matrix.build.install }} sudo apt-get install cmake ninja-build pkgconf stunnel4 ${{ matrix.build.install }}
python3 -m venv $HOME/venv python3 -m pip install --break-system-packages impacket
source $HOME/venv/bin/activate
python3 -m pip install impacket
name: 'install prereqs' name: 'install prereqs'
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
@ -83,9 +81,7 @@ jobs:
- run: cmake --build . --verbose --target testdeps - run: cmake --build . --verbose --target testdeps
name: 'build tests' name: 'build tests'
- run: | - run: cmake --build . --verbose --target test-torture
source $HOME/venv/bin/activate
cmake --build . --verbose --target test-torture
name: 'run tests' name: 'run tests'
env: env:
TFLAGS: '-j10 ${{ matrix.build.tflags }}' TFLAGS: '-j10 ${{ matrix.build.tflags }}'