Skip to content

Commit

Permalink
ci: try to use newly releases qt 6.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
microcai committed Oct 10, 2024
1 parent f7a962e commit 8ad61ed
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,25 @@ jobs:
if: startsWith(runner.os, 'Windows')
uses: actions/cache@v4
with:
path: qt6_673_static_64
key: ${{ runner.os }}-qt6_673_static_64
path: qt6-binary
key: ${{ runner.os }}-qt6-win64-vc2022-static

- name: Install Static Qt
if: startsWith(runner.os, 'Windows') && (steps.cache-qt6.outputs.cache-hit != 'true')
run: |
Invoke-WebRequest https://github.com/microcai/static-build-qt6/releases/download/qt6_673_static_64/qt6_673_static_64.zip -OutFile .\qt6_673_static_64.zip
expand-archive -path "qt6_673_static_64.zip"
Invoke-WebRequest https://github.com/microcai/static-build-qt6/releases/download/qt6_680_msvc2022_x64/qt6_680_win64_vc2022_static.zip -OutFile .\qt6-binary.zip
expand-archive -path "qt6-binary.zip"
- name: setup env for cmake to pickup QT
id: qt6-install
if: startsWith(runner.os, 'Windows')
shell: bash
run: |
echo "QT_ROOT_DIR=${{ github.workspace }}/qt6_673_static_64/Qt6_binaries" >> $GITHUB_ENV
echo "QT_PLUGIN_PATH=${{ github.workspace }}/qt6_673_static_64/Qt6_binaries/plugins" >> $GITHUB_ENV
echo "qt_root_dir=${{ github.workspace }}/qt6_673_static_64/Qt6_binaries" >> $GITHUB_OUTPUT
echo "qt_plugin_dir=${{ github.workspace }}/qt6_673_static_64/Qt6_binaries/plugins" >> $GITHUB_OUTPUT
echo "CMAKE_PREFIX_PATH=${{ github.workspace }}/qt6_673_static_64/Qt6_binaries" >> $GITHUB_ENV
echo "QT_ROOT_DIR=${{ github.workspace }}/qt6-binary/qt6-win64-vc2022-static" >> $GITHUB_ENV
echo "QT_PLUGIN_PATH=${{ github.workspace }}/qt6-binary/qt6-win64-vc2022-static/plugins" >> $GITHUB_ENV
echo "qt_root_dir=${{ github.workspace }}/qt6-binary/qt6-win64-vc2022-static" >> $GITHUB_OUTPUT
echo "qt_plugin_dir=${{ github.workspace }}/qt6-binary/qt6-win64-vc2022-static/plugins" >> $GITHUB_OUTPUT
echo "CMAKE_PREFIX_PATH=${{ github.workspace }}/qt6-binary/qt6-win64-vc2022-static" >> $GITHUB_ENV
- name: setup env for cmake to pickup Clang
if: startsWith(runner.os, 'Linux')
Expand Down

0 comments on commit 8ad61ed

Please sign in to comment.