-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a9ba06
commit 28f3c2e
Showing
6 changed files
with
130 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Qt | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: windows-2022 | ||
steps: | ||
- name: "Setup msvc" | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
- name: "Clone Qt" | ||
shell: bash | ||
run: | | ||
git clone https://github.com/qt/qt5 | ||
pushd qt5 | ||
git checkout v5.15.13-lts-lgpl | ||
git submodule update --init {qtbase,qtsvg,qtdeclarative,qtgraphicaleffects,qtimageformats,qtquickcontrols2,qtwinextras} | ||
popd | ||
- name: "Build" | ||
run: | | ||
mkdir qt5-build | ||
cd qt5-build | ||
..\qt5\configure.bat -platform win32-msvc2019 -release -mp -static -static-runtime -opensource -confirm-license -opengl desktop -no-angle -no-pch -no-iconv -no-dbus -no-icu -no-fontconfig -no-freetype -no-openssl -schannel -qt-harfbuzz -qt-doubleconversion -qt-zlib -qt-libpng -qt-libjpeg -qt-pcre -nomake tools -nomake examples -nomake tests -feature-d3d12 -no-feature-pdf -no-feature-sql -no-feature-sqlmodel -no-feature-testlib -no-feature-testlib_selfcover -no-feature-qml-profiler -no-feature-qml-preview -prefix C:/qt5.15.13-x86_64-msvc-static | ||
nmake | ||
nmake install | ||
- name: "Package" | ||
shell: bash | ||
run: | | ||
7z a qt5.15.13-x86_64-msvc-static.7z C:/qt5.15.13-x86_64-msvc-static | ||
sha256sum qt5.15.13-x86_64-msvc-static.7z | ||
- name: 'Upload Artifact' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: qt5.15.13-x86_64-msvc-static | ||
path: qt5.15.13-x86_64-msvc-static.7z | ||
retention-days: 15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: QtMac | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: macos-11 | ||
steps: | ||
- name: "Clone Qt" | ||
run: | | ||
git clone https://github.com/qt/qt5 | ||
pushd qt5 | ||
git checkout v5.15.13-lts-lgpl | ||
git submodule update --init {qtbase,qtsvg,qtdeclarative,qtgraphicaleffects,qtimageformats,qtquickcontrols2} | ||
popd | ||
- name: "Build" | ||
run: | | ||
mkdir qt5-build | ||
pushd qt5-build | ||
../qt5/configure -platform macx-clang -prefix $HOME/qt5.15.13-x86_64-macos-static -release -static -opensource -confirm-license -no-pch -no-iconv -no-dbus -no-icu -no-fontconfig -no-freetype -qt-harfbuzz -qt-doubleconversion -qt-zlib -qt-libpng -qt-libjpeg -qt-pcre -nomake tools -nomake examples -nomake tests -no-feature-pdf -no-feature-sql -no-feature-sqlmodel -no-feature-testlib -no-feature-testlib_selfcover -no-feature-qml-profiler -no-feature-qml-preview | ||
make | ||
mkdir $HOME/qt5.15.13-x86_64-macos-static | ||
make install | ||
popd | ||
- name: "Package" | ||
shell: bash | ||
run: | | ||
tar caf qt5.15.13-x86_64-macos-static.tar.xz $HOME/qt5.15.13-x86_64-macos-static | ||
shasum -a 256 qt5.15.13-x86_64-macos-static.tar.xz | ||
- name: 'Upload Artifact' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: qt5.15.13-x86_64-macos-static | ||
path: qt5.15.13-x86_64-macos-static.tar.xz | ||
retention-days: 15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters