forked from sheakelso/ClockMod
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from EnderdracheLP/dev
Adding Toggle for Battery Percentage and Option to set Font Size, Tweaked Clock Position, changed MultiplayerLobby clock position
- Loading branch information
Showing
12 changed files
with
163 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,14 @@ name: NDK build | |
|
||
on: | ||
push: | ||
branches: [ main ] | ||
branches: [ main, dev ] | ||
pull_request: | ||
branches: [ main ] | ||
branches: [ main, dev ] | ||
|
||
jobs: | ||
build: | ||
env: | ||
module_id: clockmod | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
@@ -18,15 +20,32 @@ jobs: | |
lfs: true | ||
- name: Install Powershell | ||
run: sudo apt-get install -y powershell | ||
|
||
- name: Setup NDK | ||
id: setup-ndk | ||
uses: nttld/[email protected] | ||
|
||
- name: Cache Android NDK | ||
id: cache-ndk | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-ndk | ||
ndkname: android-ndk-r21 | ||
with: | ||
ndk-version: r21 | ||
path: ndk | ||
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.ndkname }} | ||
restore-keys: | | ||
${{ runner.os }}-${{ env.cache-name }}-${{ env.ndkname }} | ||
- name: Install Android NDK | ||
if: steps.cache-ndk.outputs.cache-hit != 'true' | ||
env: | ||
ndkname: android-ndk-r21 | ||
run: | | ||
wget -q -O ndk.zip https://dl.google.com/android/repository/${ndkname}-linux-x86_64.zip | ||
unzip -q ndk.zip | ||
mv ${ndkname} ndk | ||
- name: Create ndkpath.txt | ||
run: echo ${{ steps.setup-ndk.outputs.ndk-path }} > ${GITHUB_WORKSPACE}/ndkpath.txt | ||
run: | | ||
cd ndk | ||
pwd > ${GITHUB_WORKSPACE}/ndkpath.txt | ||
# - name: Cache QPM | ||
# id: cache-qpm | ||
|
@@ -76,7 +95,7 @@ jobs: | |
id: libname | ||
run: | | ||
cd ./libs/arm64-v8a/ | ||
pattern="libclockmod.so" | ||
pattern="lib${module_id}*.so" | ||
files=( $pattern ) | ||
echo ::set-output name=NAME::"${files[0]}" | ||
- name: Upload non-debug artifact | ||
|
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Builds a .zip file for loading with BMBF | ||
& $PSScriptRoot/build.ps1 | ||
|
||
if ($?) { | ||
Compress-Archive -Path "./libs/arm64-v8a/libclockmod.so", "./libs/arm64-v8a/libbeatsaber-hook_1_0_12.so", "./bmbfmod.json","./Cover.png" -DestinationPath "./Clockmod.zip" -Update | ||
} | ||
# Builds a .zip file for loading with BMBF | ||
& $PSScriptRoot/build.ps1 | ||
|
||
if ($?) { | ||
Compress-Archive -Path "./libs/arm64-v8a/libclockmod.so", "./libs/arm64-v8a/libbeatsaber-hook_1_0_12.so", "./bmbfmod.json","./Cover.png" -DestinationPath "./Clockmod.zip" -Update | ||
} | ||
echo "Task Completed" |
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,7 @@ | ||
# Builds a .zip file for loading with BMBF | ||
& $PSScriptRoot/build.ps1 | ||
|
||
if ($?) { | ||
Compress-Archive -Path "./obj/local/arm64-v8a/libclockmod.so", "./obj/local/arm64-v8a/libbeatsaber-hook_1_0_12.so", "./bmbfmod.json","./Cover.png" -DestinationPath "./ClockmodDebug.zip" -Update | ||
} | ||
echo "Task Completed" |
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 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 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