Update build workflows so that they're the same as in master
This commit is contained in:
@@ -36,17 +36,33 @@ body:
|
|||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
attributes:
|
||||||
|
label: Installation method
|
||||||
|
description: Describe how WiVRn and OpenComposite/xrizer were installed
|
||||||
|
placeholder: flatpak --user, flatpak, AUR, Gentoo/Guru, built from sources...
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Server Config
|
label: Server Config
|
||||||
description: Provide the content of `config.json` for the server.
|
description: |
|
||||||
placeholder: Add the content of config.json here...
|
Provide the content of `config.json` for the server.
|
||||||
|
Located in `${XDG_CONFIG_HOME-${HOME}/.config}/wivrn/config.json`
|
||||||
|
or `~/.var/app/io.github.wivrn.wivrn/config/wivrn/config.json` for the flatpak version
|
||||||
|
placeholder: |
|
||||||
|
{
|
||||||
|
"encoders": [
|
||||||
|
{"codec": "h264"}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Server Logs
|
label: Server Logs
|
||||||
description: Provide the `wivrn-server` output.
|
description: Provide the `wivrn-server` output.
|
||||||
placeholder: Add the output of the wivrn-server here...
|
placeholder: |
|
||||||
|
Add the output of the wivrn-server here.
|
||||||
|
If more than a few lines, prefer file attachment.
|
||||||
|
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: gpu
|
id: gpu
|
||||||
@@ -64,7 +80,8 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
label: Vulkan Info
|
label: Vulkan Info
|
||||||
description: Provide the output of `vulkaninfo --summary` command.
|
description: Provide the output of `vulkaninfo --summary` command.
|
||||||
placeholder: Add the output of vulkaninfo command here...
|
render: text
|
||||||
|
placeholder: Attach the output as a file here.
|
||||||
|
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: hmd
|
id: hmd
|
||||||
@@ -90,4 +107,5 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
label: ADB Logs
|
label: ADB Logs
|
||||||
description: Provide the output of `adb logcat` command.
|
description: Provide the output of `adb logcat` command.
|
||||||
placeholder: Add the output of adb logcat command here...
|
render: plain
|
||||||
|
placeholder: Attach the output of adb logcat as a file.
|
||||||
|
|||||||
@@ -25,11 +25,13 @@ jobs:
|
|||||||
repository: 'Vindicus999/WiVRn'
|
repository: 'Vindicus999/WiVRn'
|
||||||
ref: ${{ github.sha }}
|
ref: ${{ github.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
#
|
|
||||||
# - uses: actions/checkout@v4
|
- name: Prepare Vulkan SDK
|
||||||
# with:
|
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
||||||
# repository: 'Vindicus999/WiVRn'
|
with:
|
||||||
# ref: sneed
|
vulkan-query-version: 1.3.296.0
|
||||||
|
vulkan-components: Glslang, SPIRV-Tools
|
||||||
|
vulkan-use-cache: true
|
||||||
|
|
||||||
- name: set up JDK
|
- name: set up JDK
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
@@ -73,9 +75,7 @@ jobs:
|
|||||||
- name: Prepare before archiving artifacts
|
- name: Prepare before archiving artifacts
|
||||||
run: |
|
run: |
|
||||||
mkdir apk
|
mkdir apk
|
||||||
ls build/outputs/apk/
|
|
||||||
mv $(find build/outputs/apk/ -name "*.apk") apk/
|
mv $(find build/outputs/apk/ -name "*.apk") apk/
|
||||||
ls apk/
|
|
||||||
mkdir debug
|
mkdir debug
|
||||||
mv build/intermediates/merged_native_libs/*/*/out/lib/* debug/
|
mv build/intermediates/merged_native_libs/*/*/out/lib/* debug/
|
||||||
find debug -name libopenxr_loader.so -delete
|
find debug -name libopenxr_loader.so -delete
|
||||||
@@ -131,11 +131,6 @@ jobs:
|
|||||||
cd symbols
|
cd symbols
|
||||||
zip -r ../debug-symbols.zip .
|
zip -r ../debug-symbols.zip .
|
||||||
|
|
||||||
- name: How the hell doesnt it work
|
|
||||||
run: |
|
|
||||||
ls apk
|
|
||||||
ls
|
|
||||||
|
|
||||||
- name: APK Release
|
- name: APK Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
+20
-16
@@ -33,12 +33,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: >
|
run: >
|
||||||
sudo apt-get update && sudo apt-get install libvulkan-dev libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev libboost-all-dev librsvg2-bin libssl-dev libnotify-dev librsvg2-dev
|
sudo apt-get update && sudo apt-get install libvulkan-dev libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev libboost-all-dev librsvg2-bin libssl-dev libnotify-dev librsvg2-dev libarchive-dev
|
||||||
|
|
||||||
- name: Prepare Vulkan SDK
|
- name: Prepare Vulkan SDK
|
||||||
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
||||||
with:
|
with:
|
||||||
vulkan-query-version: 1.3.283.0
|
vulkan-query-version: 1.3.296.0
|
||||||
vulkan-components: Vulkan-Headers
|
vulkan-components: Vulkan-Headers, Glslang, SPIRV-Tools
|
||||||
vulkan-use-cache: true
|
vulkan-use-cache: true
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
@@ -87,14 +88,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: >
|
run: >
|
||||||
apt-get update && apt-get install --yes libvulkan-dev libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin libssl-dev libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git qcoro-qt6-dev librsvg2-dev
|
apt-get update && apt-get install --yes libvulkan-dev libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin libssl-dev libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git qcoro-qt6-dev librsvg2-dev libarchive-dev libglm-dev glslang-tools
|
||||||
# runtime: qml6-module-qtqml-workerscript qml6-module-qtquick-dialogs
|
# runtime: qml6-module-qtqml-workerscript qml6-module-qtquick-dialogs
|
||||||
- name: Prepare Vulkan SDK
|
|
||||||
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
|
||||||
with:
|
|
||||||
vulkan-query-version: 1.3.283.0
|
|
||||||
vulkan-components: Vulkan-Headers
|
|
||||||
vulkan-use-cache: true
|
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: >
|
run: >
|
||||||
@@ -182,8 +177,8 @@ jobs:
|
|||||||
- name: Prepare Vulkan SDK
|
- name: Prepare Vulkan SDK
|
||||||
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
||||||
with:
|
with:
|
||||||
vulkan-query-version: 1.3.283.0
|
vulkan-query-version: 1.3.296.0
|
||||||
vulkan-components: Vulkan-Headers
|
vulkan-components: Vulkan-Headers, Glslang, SPIRV-Tools
|
||||||
vulkan-use-cache: true
|
vulkan-use-cache: true
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -192,13 +187,14 @@ jobs:
|
|||||||
|
|
||||||
- name: install server dependencies
|
- name: install server dependencies
|
||||||
run: >
|
run: >
|
||||||
sudo apt-get update && sudo apt-get install libavahi-glib-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libnotify-dev librsvg2-dev
|
sudo apt-get update && sudo apt-get install libavahi-glib-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libnotify-dev librsvg2-dev libarchive-dev
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: >
|
run: >
|
||||||
cmake -B ${{github.workspace}}/build
|
cmake -B ${{github.workspace}}/build
|
||||||
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
-DWIVRN_USE_SYSTEM_OPENXR=OFF
|
||||||
--preset everything
|
--preset everything
|
||||||
-DWIVRN_BUILD_DASHBOARD=OFF
|
-DWIVRN_BUILD_DASHBOARD=OFF
|
||||||
-DWIVRN_BUILD_DISSECTOR=OFF
|
-DWIVRN_BUILD_DISSECTOR=OFF
|
||||||
@@ -293,8 +289,8 @@ jobs:
|
|||||||
- name: Prepare Vulkan SDK
|
- name: Prepare Vulkan SDK
|
||||||
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
||||||
with:
|
with:
|
||||||
vulkan-query-version: 1.3.268.0
|
vulkan-query-version: 1.3.296.0
|
||||||
vulkan-components: Vulkan-Headers
|
vulkan-components: Vulkan-Headers, Glslang, SPIRV-Tools
|
||||||
vulkan-use-cache: true
|
vulkan-use-cache: true
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -307,6 +303,7 @@ jobs:
|
|||||||
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||||||
--preset ${{ matrix.cmake_preset }}
|
--preset ${{ matrix.cmake_preset }}
|
||||||
|
-DWIVRN_USE_SYSTEM_OPENXR=OFF
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
@@ -326,6 +323,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Prepare Vulkan SDK
|
||||||
|
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
|
||||||
|
with:
|
||||||
|
vulkan-query-version: 1.3.296.0
|
||||||
|
vulkan-components: Glslang, SPIRV-Tools
|
||||||
|
vulkan-use-cache: true
|
||||||
|
|
||||||
- name: set up JDK
|
- name: set up JDK
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
@@ -467,7 +471,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt update
|
||||||
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev
|
apt install --yes libcjson-dev libx264-dev libavcodec-dev libavutil-dev libswscale-dev libavfilter-dev libbsd-dev libavahi-client-dev libavahi-glib-dev libeigen3-dev glslang-tools libudev-dev libwayland-dev libx11-xcb-dev libxrandr-dev libxcb-randr0-dev libgl-dev libglx-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libsystemd-dev libva-dev nlohmann-json3-dev libpulse-dev xz-utils libpipewire-0.3-dev libcli11-dev qt6-base-dev qt6-tools-dev libcap-dev pkexec libboost-all-dev librsvg2-bin dpkg-dev pkg-config debhelper-compat build-essential lintian cmake libnotify-dev qt6-declarative-dev extra-cmake-modules libkirigami-dev libkf6i18n-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev jq sudo cmake gcc g++ git wget libssl-dev qcoro-qt6-dev librsvg2-dev libarchive-dev
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -9,10 +9,14 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get update && sudo apt-get install gettext qt6-base-dev qt6-tools-dev qt6-l10n-tools qtchooser python3-polib
|
run: |
|
||||||
|
sudo apt-get update && sudo apt-get install gettext
|
||||||
|
pip install polib PyGithub
|
||||||
|
|
||||||
- name: Check that .po files are up to date
|
- name: Check that .po files are up to date
|
||||||
run: |
|
run: |
|
||||||
qtchooser -install qt6 $(which qmake6)
|
if [[ "${{github.ref}}" == 'refs/heads/master' ]] ; then
|
||||||
export QT_SELECT=qt6
|
tools/check_po.py --manage-issues --github-repository "${{ github.repository }}" --github-token "${{ github.token }}"
|
||||||
tools/check_messages.sh
|
else
|
||||||
|
tools/check_po.py
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user