Skip to content

Commit

Permalink
Update to Qt 6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
grulja committed Oct 22, 2024
1 parent fd0648a commit a0fd9a0
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: pr-check
on: [pull_request]

env:
QT_VERSION: '6.6.3'
QT_VERSION: '6.8.0'

jobs:
Linux:
Expand All @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: ${{env.QT_VERSION}}
cache: true
Expand All @@ -26,14 +26,14 @@ jobs:
make -j5
Flatpak:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container:
image: docker.io/bilelmoussaoui/flatpak-github-actions:kde-6.6
image: docker.io/bilelmoussaoui/flatpak-github-actions:kde-6.7
options: --privileged
steps:
- uses: actions/checkout@v4

- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6
with:
bundle: "org.fedoraproject.MediaWriter.flatpak"
manifest-path: "dist/flatpak/org.fedoraproject.MediaWriter.json"
Expand All @@ -51,7 +51,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: ${{env.QT_VERSION}}
modules: qtimageformats
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: ${{env.QT_VERSION}}
modules: qtimageformats
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
path: FedoraMediaWriter-osx-arm64.dmg

Windows-MSVC:
runs-on: windows-2019
runs-on: windows-2022
steps:
- uses: actions/checkout@v4

Expand All @@ -125,10 +125,10 @@ jobs:
choco install dos2unix
- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: ${{env.QT_VERSION}}
arch: win64_msvc2019_64
arch: win64_msvc2022_64
cache: true
cache-key-prefix: ${{ github.job }}-qt

Expand All @@ -139,7 +139,7 @@ jobs:
shell: bash
if: ${{ !steps.cache-qt.outputs.cache-hit }}
run: |
eval "$(./dist/win/make-vs2019-env.bat)"
eval "$(./dist/win/make-vs2022-env.bat)"
git clone https://git.tukaani.org/xz.git
cd xz
git checkout v5.4.5
Expand All @@ -155,7 +155,7 @@ jobs:
- name: Build MediaWriter
shell: bash
run: |
eval "$(./dist/win/make-vs2019-env.bat)"
eval "$(./dist/win/make-vs2022-env.bat)"
mkdir build
cd build
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$Qt6_DIR" ..
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [ created ]

env:
QT_VERSION: '6.6.3'
QT_VERSION: '6.8.0'

jobs:
macOS:
Expand All @@ -17,7 +17,7 @@ jobs:
run: echo "TAG_NAME=$(bash ./dist/get-tag-name.sh)" >> $GITHUB_ENV

- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: ${{env.QT_VERSION}}
modules: qtimageformats
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
run: echo "TAG_NAME=$(bash ./dist/get-tag-name.sh)" >> $GITHUB_ENV

- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: ${{env.QT_VERSION}}
modules: qtimageformats
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
bash dist/upload-to-github.sh github_api_token=${{ secrets.GITHUB_TOKEN }} tag="${{ env.TAG_NAME }}" filename="FedoraMediaWriter-osx-arm64-${{ env.TAG_NAME }}.dmg"
Windows-MSVC:
runs-on: windows-2019
runs-on: windows-2022
steps:
- uses: actions/checkout@v4

Expand All @@ -95,10 +95,10 @@ jobs:
choco install dos2unix
- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: ${{env.QT_VERSION}}
arch: win64_msvc2019_64
arch: win64_msvc2022_64
cache: true
cache-key-prefix: ${{ github.job }}-qt

Expand All @@ -109,7 +109,7 @@ jobs:
shell: bash
if: ${{ !steps.cache-qt.outputs.cache-hit }}
run: |
eval "$(./dist/win/make-vs2019-env.bat)"
eval "$(./dist/win/make-vs2022-env.bat)"
git clone https://git.tukaani.org/xz.git
cd xz
git checkout v5.4.5
Expand All @@ -125,7 +125,7 @@ jobs:
- name: Build MediaWriter
shell: bash
run: |
eval "$(./dist/win/make-vs2019-env.bat)"
eval "$(./dist/win/make-vs2022-env.bat)"
mkdir build
cd build
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$Qt6_DIR" ..
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set OLDPATH=%PATH%

call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 > NUL:
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 > NUL:

echo export INCLUDE='%INCLUDE%'
echo export LIB='%LIB%'
Expand Down

0 comments on commit a0fd9a0

Please sign in to comment.