Skip to content

Commit

Permalink
avoid flaky choco (6)
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed Jan 9, 2022
1 parent f66d15a commit 50529b8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build_qbs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
qt_version: "6.2.2"
qt_arch: "win64_msvc2019_64"
libclang_url: "https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_130-based-windows-vs2019_64.7z"
qbs_url: "https://download.qt.io/official_releases/qbs/1.21.0/qbs-windows-x86_64-1.21.0.zip"

steps:
- name: Get LibClang
Expand All @@ -24,6 +25,14 @@ jobs:

- run: 7z x libclang.7z

- name: Get Qbs
shell: cmake -P {0}
run: file(DOWNLOAD "${{ matrix.config.qbs_url }}" ./qbs.zip SHOW_PROGRESS)

- run: |
7z x qbs.zip -oqbs
echo "${{ github.workspace }}/qbs/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
Expand All @@ -39,9 +48,6 @@ jobs:
modules: qtbase qtdeclarative qttools qtsvg qttranslations qtimageformats qtserialport qtquicktimeline qtquick3d qt5compat qtshadertools
cached: ${{ steps.cache-qt.outputs.cache-hit }}

- name: Install Qbs
run: choco install qbs

- name: Setup Qbs
run: |
qbs setup-toolchains --detect
Expand Down

0 comments on commit 50529b8

Please sign in to comment.