mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 02:40:20 +08:00
update, Qt6: Do not deploy Qt6 version for now. !APK !QT5 !DEB !NSIS !AUR
This commit is contained in:
parent
6b9be09384
commit
2f3c6d2c8e
78
.github/workflows/build-qv2ray-qt6.yml
vendored
78
.github/workflows/build-qv2ray-qt6.yml
vendored
@ -163,81 +163,3 @@ jobs:
|
|||||||
-DQV2RAY_TRANSLATION_PATH=QApplication::applicationDirPath\(\)+"/../share/qv2ray/lang"
|
-DQV2RAY_TRANSLATION_PATH=QApplication::applicationDirPath\(\)+"/../share/qv2ray/lang"
|
||||||
cmake --build . --parallel $(nproc)
|
cmake --build . --parallel $(nproc)
|
||||||
cmake --install .
|
cmake --install .
|
||||||
# ========================================================================================================= Deployments
|
|
||||||
- name: Linux - ${{ matrix.qt_version }} - Generating AppImage
|
|
||||||
if: matrix.platform == 'ubuntu-20.04'
|
|
||||||
run: |
|
|
||||||
cd build
|
|
||||||
cd AppDir
|
|
||||||
mkdir -p ./usr/{lib,optional}/
|
|
||||||
mkdir -p ./usr/optional/libstdc++/
|
|
||||||
mkdir -p ./usr/optional/libgcc_s/
|
|
||||||
wget -c https://github.com/darealshinji/AppImageKit-checkrt/releases/download/continuous/AppRun-patched-x86_64 -O AppRun
|
|
||||||
wget -c https://github.com/darealshinji/AppImageKit-checkrt/releases/download/continuous/exec-x86_64.so -O ./usr/optional/exec.so
|
|
||||||
chmod a+x AppRun
|
|
||||||
cp -fv /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./usr/optional/libstdc++/
|
|
||||||
cp -fv /lib/x86_64-linux-gnu/libgcc_s.so.1 ./usr/optional/libgcc_s/
|
|
||||||
cp -fv /usr/lib/x86_64-linux-gnu/{libssl.so.1.1,libcrypto.so.1.1} ./usr/lib/
|
|
||||||
cd ..
|
|
||||||
wget https://github.com/probonopd/linuxdeployqt/releases/download/6/linuxdeployqt-6-x86_64.AppImage
|
|
||||||
chmod +x ./linuxdeployqt-6-x86_64.AppImage
|
|
||||||
./linuxdeployqt-6-x86_64.AppImage AppDir/usr/share/applications/qv2ray.desktop \
|
|
||||||
-unsupported-allow-new-glibc \
|
|
||||||
-appimage \
|
|
||||||
-no-strip \
|
|
||||||
-always-overwrite \
|
|
||||||
-extra-plugins=iconengines,imageformats,platforminputcontexts
|
|
||||||
mv ./Qv2ray*.AppImage ./Qv2ray.AppImage
|
|
||||||
- name: Linux - ${{ matrix.qt_version }} - Uploading Artifact
|
|
||||||
if: matrix.platform == 'ubuntu-20.04'
|
|
||||||
uses: actions/upload-artifact@master
|
|
||||||
with:
|
|
||||||
name: Qv2ray-${{ github.sha }}.linux-${{ matrix.ui_type }}.qt${{ matrix.qt_version }}-${{ matrix.build_type }}.AppImage
|
|
||||||
path: build/Qv2ray.AppImage
|
|
||||||
- name: Linux - ${{ matrix.qt_version }} - Upload binaries to release
|
|
||||||
uses: svenstaro/upload-release-action@v1-release
|
|
||||||
if: github.event_name == 'release' && matrix.platform == 'ubuntu-20.04' && matrix.ui_type == 'QWidget' && matrix.qt_version == '6.0.0' && matrix.build_type == 'Release'
|
|
||||||
with:
|
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
file: build/Qv2ray.AppImage
|
|
||||||
asset_name: Qv2ray.${{ steps.get_version.outputs.VERSION }}.Qt6.Linux.AppImage
|
|
||||||
tag: ${{ github.ref }}
|
|
||||||
overwrite: true
|
|
||||||
# --------------------------------------------------------
|
|
||||||
- name: macOS - ${{ matrix.qt_version }} - Uploading Artifact
|
|
||||||
if: matrix.platform == 'macos-latest'
|
|
||||||
uses: actions/upload-artifact@master
|
|
||||||
with:
|
|
||||||
name: Qv2ray-${{ github.sha }}.macOS-${{ matrix.ui_type }}.qt${{ matrix.qt_version }}-${{ matrix.build_type }}.dmg
|
|
||||||
path: Qv2ray.dmg
|
|
||||||
- name: macOS - ${{ matrix.qt_version }} - Upload binaries to release
|
|
||||||
uses: svenstaro/upload-release-action@v1-release
|
|
||||||
if: github.event_name == 'release' && matrix.platform == 'macos-latest' && matrix.ui_type == 'QWidget' && matrix.qt_version == '6.0.0' && matrix.build_type == 'Release'
|
|
||||||
with:
|
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
file: Qv2ray.dmg
|
|
||||||
asset_name: Qv2ray.${{ steps.get_version.outputs.VERSION }}.Qt6.macOS.dmg
|
|
||||||
tag: ${{ github.ref }}
|
|
||||||
overwrite: true
|
|
||||||
# --------------------------------------------------------
|
|
||||||
- name: Win - ${{ matrix.qt_version }} - Create 7z Release
|
|
||||||
if: matrix.platform == 'windows-latest'
|
|
||||||
uses: DuckSoft/create-7z-action@v1.0
|
|
||||||
with:
|
|
||||||
pathSource: ./build/deployment/
|
|
||||||
pathTarget: ./release.7z
|
|
||||||
- name: Win - ${{ matrix.qt_version }} - Uploading Artifact
|
|
||||||
if: matrix.platform == 'windows-latest'
|
|
||||||
uses: actions/upload-artifact@master
|
|
||||||
with:
|
|
||||||
name: Qv2ray-${{ github.sha }}.Windows-${{ matrix.ui_type }}.qt${{ matrix.qt_version }}-${{ matrix.build_type }}.7z
|
|
||||||
path: release.7z
|
|
||||||
- name: Win - ${{ matrix.qt_version }} - Upload binaries to release
|
|
||||||
uses: svenstaro/upload-release-action@v1-release
|
|
||||||
if: github.event_name == 'release' && matrix.platform == 'windows-latest' && matrix.ui_type == 'QWidget' && matrix.qt_version == '6.0.0' && matrix.build_type == 'Release'
|
|
||||||
with:
|
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
file: release.7z
|
|
||||||
asset_name: Qv2ray.${{ steps.get_version.outputs.VERSION }}.Qt6.Windows.7z
|
|
||||||
tag: ${{ github.ref }}
|
|
||||||
overwrite: true
|
|
||||||
|
@ -1 +1 @@
|
|||||||
6089
|
6090
|
||||||
|
Loading…
Reference in New Issue
Block a user