Skip to content

Commit d1c659f

Browse files
authored
Revert "Revert "Combine environment setting steps into one step with shell script (#1010)" (#1029)"
This reverts commit 8b7b067.
1 parent 8b7b067 commit d1c659f

File tree

4 files changed

+130
-199
lines changed

4 files changed

+130
-199
lines changed

.github/workflows/desktop.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,6 @@ jobs:
312312
with:
313313
ref: ${{needs.check_and_prepare.outputs.github_ref}}
314314
submodules: true
315-
- name: Set env vars
316-
run: |
317-
echo "VCPKG_TRIPLET=x64-linux" >> $GITHUB_ENV
318-
echo "VCPKG_RESPONSE_FILE=external/vcpkg_${{ env.VCPKG_TRIPLET }}_response_file.txt" >> $GITHUB_ENV
319315
- name: Cache vcpkg C++ dependencies
320316
id: cache_vcpkg
321317
uses: actions/cache@v2
@@ -332,11 +328,12 @@ jobs:
332328
with:
333329
python-version: ${{ fromJson(needs.prepare_matrix.outputs.matrix_python_version)[0] }}
334330
- name: Prepare for integration tests
335-
run: |
336-
pip install -r scripts/gha/requirements.txt
337-
- name: Install OpenSSL
338-
run: |
339-
sudo apt install openssl
331+
uses: nick-invision/retry@v2
332+
with:
333+
shell: bash
334+
timeout_minutes: 15
335+
max_attempts: 3
336+
command: scripts/gha/install_test_workflow_prereqs.sh -p Desktop -a 'x64' -s 'openssl'
340337
- name: Build integration tests
341338
shell: bash
342339
env:

0 commit comments

Comments
 (0)