Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:
fail-fast: false
matrix:
os: [
{ description: Linux (x86_64), architecture: [ amd64, linux/amd64 ], platform: x11 },
{ description: Linux (amd64), architecture: [ amd64, linux/amd64 ], platform: x11 },
{ description: Raspberry Pi 1 & Zero 1 (armv6), architecture: [ armv6, linux/arm/v6 ], platform: rpi },
{ description: Raspberry Pi 2 (armv7), architecture: [ armv7, linux/arm/v7 ], platform: rpi },
{ description: Raspberry Pi 3/4/5 & Zero 2 (arm64), architecture: [ arm64, linux/arm64 ], platform: rpi }
]
target_lookup: [
{ 'arm64': 'arm64', 'armv6': 'armv6l', 'armv7': 'armv7l' }
{ 'amd64': 'amd64', 'arm64': 'arm64', 'armv6': 'armv6l', 'armv7': 'armv7l' }
]

steps:
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
DOCKER_TAG: ${{ inputs.codename == 'bullseye' && matrix.os.architecture[0] == 'armv6' && inputs.codename || format('{0}-qt6', inputs.codename) }}
BUILD_TYPE: ${{ inputs.event_name == 'pull_request' && 'debug' || 'release' }}
ENTRYPOINT: ${{ matrix.os.architecture[0] != 'amd64' && '--entrypoint /usr/bin/env' || '' }}
CPACK_SYSTEM_PROCESSOR: ${{ matrix.os.architecture[0] != 'amd64' && format('-DCPACK_SYSTEM_PROCESSOR={0}', matrix.target_lookup[format('{0}', matrix.os.architecture[0])]) || '' }}
CPACK_SYSTEM_PROCESSOR: ${{ format('-DCPACK_SYSTEM_PROCESSOR={0}', matrix.target_lookup[format('{0}', matrix.os.architecture[0])]) || '' }}
HINT: ${{ steps.dependencies.outputs.cmakeArgs != '' && '(with pre-built dependencies)' || '(full build)' }}

- name: 📦 Upload
Expand Down
46 changes: 31 additions & 15 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

windows:
name: ${{ matrix.os.description }}
runs-on: ${{ matrix.os.architecture == 'arm64' && 'windows-11-arm' || 'windows-2022' }}
runs-on: ${{ matrix.os.architecture == 'arm64' && 'windows-11-arm' || 'windows-2025' }}
strategy:
fail-fast: false
matrix:
Expand All @@ -55,9 +55,9 @@ jobs:
fi

- name: 📥 Install Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.13.5'
python-version: '3.13.7'
architecture: ${{ matrix.os.architecture }}

- name: 📥 Install Qt
Expand All @@ -81,19 +81,35 @@ jobs:
with:
arch: ${{ matrix.os.architecture }}

- name: 💾 Download OpenSSL 3.x
uses: ethanjli/cached-download-action@v0.1.3
with:
url: "https://slproweb.com/download/Win64${{ matrix.os.architecture == 'arm64' && 'ARM' || '' }}OpenSSL-3_5_3.exe"
destination: .\installer\openssl.exe
cache-key: OpenSSL

- name: 📥 Install OpenSSL 3.x
shell: powershell
- name: Download/Install Inno Setup
run: |
Start-Process -FilePath ".\installer\openssl.exe" -ArgumentList "/silent", "/verysilent", "/sp-", "/suppressmsgboxes", "/DIR=C:\OpenSSL" -Wait
echo "OPENSSL_ROOT_DIR=C:\OpenSSL" >> $env:GITHUB_ENV

echo "Checking pre-installation..."

set "ISCC_PATH=%programfiles(x86)%\Inno Setup 6\ISCC.exe"

if exist "%ISCC_PATH%" (
echo ::warning::Inno Setup is already installed
exit /b 0
)

echo "Downloading Inno Setup..."

set "_url_=https://jrsoftware.org/download.php/is.exe?site=1"
set "_file_=innosetup.exe"

curl -L -o "%tmp%\%_file_%" "%_url_%"

echo "Installing Inno Setup..."
"%tmp%\%_file_%" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-

if not exist "%ISCC_PATH%" (
echo "::error::Inno Setup installation failed"
exit 1
)

echo "Inno Setup installed successfully!"
shell: cmd

- name: 💾 Download Pre-Build Dependencies
id: dependencies
uses: ./.github/actions/download-pre-built-deps
Expand Down