Merge remote-tracking branch 'origin/sneed' into apk-build
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Format / Formatting check (client) (push) Skipped
Locales / Locale check (push) Skipped
Release APK Only / Android (Release) (push) Failing after 45s
Release APK Only / Create APK release (push) Skipped

This commit is contained in:
Sneed Chuckinson
2026-12-06 19:17:29 +00:00
14 changed files with 92 additions and 679 deletions
+6
View File
@@ -0,0 +1,6 @@
version: "1"
rules:
- base: master
upstream: WiVRn:master
mergeMethod: hardreset
+26 -16
View File
@@ -2,7 +2,7 @@ name: Release APK Only
on:
push:
branches: [ "master" ]
branches: [ "apk-build" ]
env:
BUILD_TYPE: RelWithDebInfo
@@ -15,17 +15,25 @@ jobs:
strategy:
matrix:
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
#buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
buildtype: ['Release']
steps:
- uses: actions/checkout@v6
with:
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
repository: 'WiVRn/WiVRn'
repository: 'gitea/WiVRn'
ref: ${{ github.sha }}
fetch-depth: 0
# Gradle distribution and the Android plugin's dependencies.
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- run: ./gradlew build --no-daemon
- uses: actions/cache@v5
with:
key: gradle-android-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}
@@ -36,11 +44,13 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install glslang-tools spirv-tools librsvg2-bin gettext npm
sudo apt-get update && sudo apt-get install -y glslang-tools spirv-tools librsvg2-bin gettext npm
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.0/KTX-Software-4.4.0-Linux-x86_64.deb
sudo dpkg --install KTX-Software-4.4.0-Linux-x86_64.deb
npm install --global @gltf-transform/cli@4.1.1
- name: Check for Secret availability
id: secret-check
shell: bash
@@ -102,13 +112,13 @@ jobs:
pattern: 'apk-*'
merge-multiple: true
- name: Rename APK artifacts
run: |
cd apk
for f in *.apk; do
BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
mv "${f}" "org.meumeu.wivrn-${BASENAME}"
done
# - name: Rename APK artifacts
# run: |
# cd apk
# for f in *.apk; do
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
# done
- name: Download APK debug artifacts
uses: actions/download-artifact@v8
@@ -117,10 +127,10 @@ jobs:
pattern: 'symbols-*'
merge-multiple: false
- name: Zip APK debug artifacts
run: |
cd symbols
zip -r ../debug-symbols.zip .
# - name: Zip APK debug artifacts
# run: |
# cd symbols
# zip -r ../debug-symbols.zip .
- name: APK Release
uses: softprops/action-gh-release@v3
@@ -133,4 +143,4 @@ jobs:
fail_on_unmatched_files: true
files: |
apk/*.apk
debug-symbols.zip
# debug-symbols.zip
+49
View File
@@ -0,0 +1,49 @@
name: Sync Fork with Upstream
env:
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
UPSTREAM_BRANCH: "master"
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
upstream_repo: vindicus999/wivrn
fetch-depth: 0
token: ${{ env.WORKFLOW_TOKEN }}
- name: Add upstream
run: |
git remote add upstream ${{ env.UPSTREAM_URL }}
- name: Fetch all
run: |
git fetch origin
git fetch upstream
- name: Update sync branch
run: |
git checkout -B master upstream/master
git push origin master --force
- name: Copy master -> apk-build
run: |
git checkout -B apk-build master
git push origin apk-build --force
- name: Apply sneed changes
run: |
git merge origin/sneed --no-edit
- name: Push apk build
run: |
git push origin build --force