2024-07-16 22:30:36 -04:00
|
|
|
name: Build Tilde Friends
|
2024-07-24 13:50:48 -04:00
|
|
|
run-name: ${{ gitea.actor }} running 🚀
|
2024-07-16 22:20:45 -04:00
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
2024-07-16 22:30:36 -04:00
|
|
|
Build-All:
|
2024-07-16 22:20:45 -04:00
|
|
|
runs-on: ubuntu-latest
|
2024-09-11 18:49:06 -04:00
|
|
|
container:
|
2024-09-11 19:00:30 -04:00
|
|
|
valid_volumes: ['/opt/keys']
|
2024-09-11 18:49:06 -04:00
|
|
|
volumes:
|
2024-09-11 18:54:39 -04:00
|
|
|
- /opt/keys:/opt/keys
|
2024-07-16 22:20:45 -04:00
|
|
|
steps:
|
2024-07-24 13:50:48 -04:00
|
|
|
- name: check out code
|
2024-07-16 22:20:45 -04:00
|
|
|
uses: actions/checkout@v4
|
2024-07-16 22:32:26 -04:00
|
|
|
with:
|
|
|
|
submodules: true
|
2024-09-11 19:33:37 -04:00
|
|
|
- run: ln -s /opt/keys .keys
|
2024-09-10 20:20:40 -04:00
|
|
|
- name: Setup JDK
|
|
|
|
uses: actions/setup-java@v3
|
|
|
|
with:
|
|
|
|
java-version: '17'
|
2024-09-10 20:25:51 -04:00
|
|
|
distribution: 'temurin'
|
2024-09-10 20:20:40 -04:00
|
|
|
- name: Setup Android SDK
|
|
|
|
uses: android-actions/setup-android@v3
|
|
|
|
with:
|
2024-09-10 20:34:25 -04:00
|
|
|
packages: 'tools platform-tools build-tools;34.0.0 platforms;android-34 ndk;26.3.11579264'
|
2024-08-14 21:16:31 -04:00
|
|
|
- run: sudo apt update && sudo apt install -y doxygen graphviz mingw-w64
|
2024-09-11 19:33:37 -04:00
|
|
|
- run: ANDROID_SDK=$HOME/.android/sdk make -j`nproc` all docs
|
2024-07-24 12:56:27 -04:00
|
|
|
- run: docker build .
|
2024-09-11 19:33:37 -04:00
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
path: out/TildeFriends-release.fdroid.apk
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
path: out/winrelease/tildefriends.exe
|