Compare commits
26
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07dfd529db | ||
|
|
fb3592244a | ||
|
|
c84cc9cc2c | ||
|
|
e8b0312835 | ||
|
|
9ea224b049 | ||
|
|
b53261d981 | ||
|
|
b5fc4ce293 | ||
|
|
917032b254 | ||
|
|
03b121fa55 | ||
|
|
a68a068898 | ||
|
|
22bda91950 | ||
|
|
835f19a923 | ||
|
|
315444758c | ||
|
|
969513ec79 | ||
|
|
167986474f | ||
|
|
45cc514130 | ||
|
|
0082d365c0 | ||
|
|
cd800cc665 | ||
|
|
e40bcd8402 | ||
|
|
fa0ad7eda9 | ||
|
|
4a053aa019 | ||
|
|
af6c55a269 | ||
|
|
89f98049b1 | ||
|
|
8dc07d7ea8 | ||
|
|
78a125d1cd | ||
|
|
76630efc1d |
@@ -0,0 +1,6 @@
|
|||||||
|
version: "1"
|
||||||
|
rules:
|
||||||
|
- base: master
|
||||||
|
upstream: WiVRn:master
|
||||||
|
mergeMethod: hardreset
|
||||||
|
|
||||||
@@ -22,9 +22,14 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
|
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
|
||||||
repository: 'WiVRn/WiVRn'
|
repository: 'Vindicus999/WiVRn'
|
||||||
ref: ${{ github.sha }}
|
ref: ${{ github.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
#
|
||||||
|
# - uses: actions/checkout@v4
|
||||||
|
# with:
|
||||||
|
# repository: 'Vindicus999/WiVRn'
|
||||||
|
# ref: sneed
|
||||||
|
|
||||||
- name: set up JDK
|
- name: set up JDK
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
@@ -68,7 +73,9 @@ 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
|
||||||
@@ -102,13 +109,15 @@ jobs:
|
|||||||
pattern: 'apk-*'
|
pattern: 'apk-*'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
|
||||||
- name: Rename APK artifacts
|
# - name: Rename APK artifacts
|
||||||
run: |
|
# run: |
|
||||||
cd apk
|
# cd apk
|
||||||
for f in *.apk; do
|
# ls
|
||||||
BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
|
# for f in *.apk; do
|
||||||
mv "${f}" "org.meumeu.wivrn-${BASENAME}"
|
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
|
||||||
done
|
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
|
||||||
|
# done
|
||||||
|
# ls
|
||||||
|
|
||||||
- name: Download APK debug artifacts
|
- name: Download APK debug artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
@@ -122,6 +131,11 @@ 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:
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
name: Sync Upstream
|
||||||
|
|
||||||
|
env:
|
||||||
|
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
|
||||||
|
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
|
||||||
|
UPSTREAM_BRANCH: "master"
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 5/6 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: GitHub Sync to Upstream Repository
|
||||||
|
uses: dabreadman/sync-upstream-repo@v1.3.0
|
||||||
|
with:
|
||||||
|
upstream_repo: ${{ env.UPSTREAM_URL }}
|
||||||
|
upstream_branch: ${{ env.UPSTREAM_BRANCH }}
|
||||||
|
token: ${{ env.WORKFLOW_TOKEN }}
|
||||||
|
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: Merge sneed -> master
|
||||||
|
uses: devmasx/merge-branch@master
|
||||||
|
with:
|
||||||
|
type: now
|
||||||
|
from_branch: sneed
|
||||||
|
target_branch: master
|
||||||
|
github_token: ${{ env.WORKFLOW_TOKEN }}
|
||||||
|
|
||||||
Reference in New Issue
Block a user