Skip to content

Commit

Permalink
Merge pull request #147 from tobexyz/feat/ci
Browse files Browse the repository at this point in the history
Feat/ci
  • Loading branch information
tobexyz authored Jan 11, 2025
2 parents e4ff55e + aecab98 commit 2887678
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll & Doxygen GitHub Pages dependencies preinstalled
name: Deploy debug APK, Jekyll & Doxygen GitHub Pages

on:
# Runs on pushes targeting the default branch
Expand Down Expand Up @@ -28,6 +28,23 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Run gradle build
run: ./gradlew build
- name: Upload APK Debug
uses: actions/upload-artifact@v4
with:
name: ${{ env.date_today }} - YAACC - APK(s) debug generated
path: ./yaacc/build/outputs/apk/debug/

# build pages
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
Expand Down
5 changes: 5 additions & 0 deletions yaacc/src/test/java/android/util/Log.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ public static int v(String tag, String msg) {
return 0;
}

public static int v(String tag, String msg, Throwable tr) {
System.out.println("VERBOSE: " + tag + ": " + msg + '\n' + getStackTraceString(tr));
return 0;
}

public static String getStackTraceString(Throwable tr) {
if (tr == null) {
return "";
Expand Down

0 comments on commit 2887678

Please sign in to comment.