Skip to content

Commit

Permalink
Switch win/mac ci builds to Qt 6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
prodrigestivill committed Dec 29, 2024
1 parent 68c79c7 commit 68391de
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 15 deletions.
35 changes: 21 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: iaito CI

env:
R2V: 5.9.8
QT_INSTALL_VERSION: 6.7.*

on:
push:
Expand Down Expand Up @@ -75,11 +76,12 @@ jobs:
python-version: 3.11.x
- name: uname
run: uname -a
- name: install Qt
uses: jurplel/install-qt-action@v4
with:
version: ${{env.QT_INSTALL_VERSION}}
- name: install dependencies
run: |
brew install qt@5
echo $(brew --prefix qt@5)/bin >> $GITHUB_PATH
pip3 install meson ninja
run: pip3 install meson ninja
- name: install r2
run: |
wget -q https://github.com/radareorg/radare2/releases/download/${{env.R2V}}/radare2-x64-${{env.R2V}}.pkg
Expand Down Expand Up @@ -107,11 +109,12 @@ jobs:
python-version: 3.11.x
- name: uname
run: uname -a
- name: install Qt
uses: jurplel/install-qt-action@v4
with:
version: ${{env.QT_INSTALL_VERSION}}
- name: install dependencies
run: |
brew install qt@5
echo $(brew --prefix qt@5)/bin >> $GITHUB_PATH
pip3 install meson ninja
run: pip3 install meson ninja
- name: install r2
run: |
wget -q https://github.com/radareorg/radare2/releases/download/${{env.R2V}}/radare2-m1-${{env.R2V}}.pkg
Expand Down Expand Up @@ -155,10 +158,12 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: install dependencies
if: contains(matrix.os, 'macos')
run: |
brew install qt@5
echo $(brew --prefix qt@5)/bin >> $GITHUB_PATH
pip3 install meson ninja
run: pip3 install meson ninja
- name: install Qt
if: contains(matrix.os, 'macos')
uses: jurplel/install-qt-action@v4
with:
version: ${{env.QT_INSTALL_VERSION}}
- name: macos build
if: contains(matrix.os, 'macos')
run: |
Expand All @@ -182,7 +187,9 @@ jobs:
with:
arch: x64
- name: install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
version: ${{env.QT_INSTALL_VERSION}}
- name: install dependencies
shell: cmd
run: pip install ninja meson
Expand All @@ -200,7 +207,7 @@ jobs:
shell: cmd
env:
ARCH: x64
run: make.bat
run: make.bat -Dwith_qt6=true
- name: dist
shell: cmd
run: 7z a -r iaito.zip iaito
Expand Down
1 change: 0 additions & 1 deletion src/Iaito.pro
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ VERSION = $${IAITO_VERSION_MAJOR}.$${IAITO_VERSION_MINOR}.$${IAITO_VERSION_PATCH

# Required QT version
lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5")
# Doesnt build for Qt6 yet... but will do soon

# Icon for OS X
ICON = img/iaito.icns
Expand Down

0 comments on commit 68391de

Please sign in to comment.