Skip to content
Open
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
99 changes: 99 additions & 0 deletions .github/workflows/qt683-msys.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: Build QT 6.8.3 on Windows (MSYS2)

on:
push:
branches: [ "main" ]
paths:
'.github/workflows/qt683-msys.yml'
pull_request:
branches: [ "main" ]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build-qt683-windows-msys2:
runs-on: windows-2025
permissions: write-all

defaults:
run:
shell: msys2 {0}

steps:
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
update: true
install: >
git
make
base-devel
autoconf
libtool
pkg-config
tar
zip

pacboy: >-
toolchain:p
autotools:p
cmake:p
ninja:p
libusb:p
ffmpeg7.1:p

- name: Checkout QT 6.8.3
run: |
git clone https://github.com/qt/qt5.git qt6
cd qt6
git switch 6.8.3
./init-repository --module-subset=essential,qtactiveqt,qtmultimedia,qtserialport,qtsvg,qtshadertools,qttools

- name: Configure QT 6.8.3
run: |
cd qt6
mkdir ./build
cd build
../configure --prefix=/d/a/js8call/qt683-install

- name: Configure Summary QT 6.8.3
run: cat /d/a/js8call/js8call/qt6/build/config.summary

- name: Build QT 6.8.3
run: |
cd qt6/build
cmake --build . --parallel
cmake --install .

- name: Upload QT 6.8.3 Artifact binaries
uses: actions/upload-artifact@v4
with:
name: qt683-windows-msys2-binaries
path: /d/a/js8call/qt683-install/

release:
runs-on: ubuntu-24.04
permissions: write-all
needs: build-qt683-windows-msys2
steps:
- uses: actions/download-artifact@v5
with:
name: qt683-windows-msys2-binaries
path: mingw64

- run: |
cd mingw64
zip -r ../qt683-windows-msys2-binaries.zip .

- uses: softprops/action-gh-release@v2.3.4
with:
tag_name: qt6-v6.8.3-ci
name: "QT6 v6.8.3 for Windows MSYS2 CI build"
body: |
Release created automatically from commit.
This release is for use in the Windows MSYS2 CI builds for JS8Call. Use at your own risk!
files: "qt683-windows-msys2-binaries.zip"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}