Skip to content

Commit

Permalink
Change Windows CI to Qt6 [deploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
dougmassay committed Jul 26, 2023
1 parent 54b9bbf commit f4bfc05
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/reset-win-caches.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Change the content of this file to reset the caches for the github actions sigil windows build
Reset cache on 7-July-2023
Reset cache on 26-July-2023
13 changes: 7 additions & 6 deletions .github/workflows/win-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ on:

env:
BUILD_TYPE: Release
DOWNLOADQT: https://github.com/dougmassay/win-qtwebkit-5.212/releases/download/v5.212-1/Qt5.15.9_x64_VS2022.7z
QT: Qt5.15.9
DOWNLOADQT: https://github.com/dougmassay/win-qtwebkit-5.212/releases/download/v5.212-1/Qt6.5.2_x64_VS2022.7z
QT: Qt6.5.2
INNO: C:\Program Files (x86)\Inno Setup 6
CMAKE64BIT: -DWIN_INSTALLER_USE_64BIT_CRT=1
PYTHON: \hostedtoolcache\windows\Python\3.11.3\x64
Expand Down Expand Up @@ -74,12 +74,12 @@ jobs:
pip install cssselect==1.2.0
pip install urllib3==1.26.15
pip install certifi==2022.12.7
pip install dulwich==0.21.3 --global-option="--pure"
pip install dulwich==0.21.3
pip install chardet==5.1.0
pip install pillow==9.5.0
pip install PyQt5==5.15.9 PyQt5-sip==12.12.0
pip install PyQtWebEngine==5.15.6
pip install lxml==4.9.2
pip install shiboken6@https://github.com/dougmassay/win-qtwebkit-5.212/releases/download/v5.212-1/shiboken6-6.5.2-6.5.2-cp311-cp311-win_amd64.whl
pip install PySide6@https://github.com/dougmassay/win-qtwebkit-5.212/releases/download/v5.212-1/PySide6-6.5.2-6.5.2-cp311-cp311-win_amd64.whl
- name: Create Build Environment
shell: cmd
Expand All @@ -105,7 +105,8 @@ jobs:
-DPYTHON_INCLUDE_DIR="C:\%PYTHON%\include" ^
-DPYTHON_EXECUTABLE="C:\%PYTHON%\python.exe" ^
-DUSE_ALT_ICONS=1 ^
-DQt5_DIR="${{runner.workspace}}\$QT\lib\cmake\Qt5" ^
-DUSE_QT6=1 ^
-DQt6_DIR="${{runner.workspace}}\$QT\lib\cmake\Qt6" ^
%CMAKE64BIT%
ninja -j2
Expand Down
6 changes: 3 additions & 3 deletions src/Resource_Files/python_pkg/windows_python_gather6.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def copy_site_packages():
def ignore_in_pyside6_dirs(base, items, ignored_dirs=None):
ans = []
if ignored_dirs is None:
ignored_dirs = {'.svn', '.bzr', '.git', 'docs', 'examples', 'glue', 'include', 'plugins', 'qml',
'resources', 'scripts', 'support', 'translations', 'typesystems', '__pycache__'}
ignored_dirs = {'.svn', '.bzr', '.git', 'docs', 'examples', 'glue', 'include', 'metatypes', 'modules',
'plugins', 'qml', 'resources', 'scripts', 'support', 'translations', 'typesystems', '__pycache__'}
for name in items:
path = os.path.join(base, name)
if os.path.isdir(path):
Expand All @@ -96,7 +96,7 @@ def ignore_in_pyside6_dirs(base, items, ignored_dirs=None):
def ignore_in_dirs(base, items, ignored_dirs=None):
ans = []
if ignored_dirs is None:
ignored_dirs = {'.svn', '.bzr', '.git', 'test', 'tests', 'testing', '__pycache__'}
ignored_dirs = {'.svn', '.bzr', '.git', 'test', 'tests', 'testing', 'turtledemo', '__pycache__'}
for name in items:
path = os.path.join(base, name)
if os.path.isdir(path):
Expand Down

0 comments on commit f4bfc05

Please sign in to comment.