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-25 19:49:52 -04:00
|
|
|
- name: Setup JDK
|
|
|
|
uses: actions/setup-java@v3
|
|
|
|
with:
|
|
|
|
java-version: '17'
|
|
|
|
distribution: 'temurin'
|
|
|
|
- name: Setup Android SDK
|
|
|
|
uses: android-actions/setup-android@v3
|
|
|
|
with:
|
|
|
|
packages: 'tools platform-tools build-tools;34.0.0 platforms;android-34 ndk;26.3.11579264'
|
2024-09-27 22:10:01 -04:00
|
|
|
- run: sudo apt update && sudo apt install -y doxygen graphviz mingw-w64 libgpgme11
|
2024-09-25 19:49:52 -04:00
|
|
|
- run: ANDROID_SDK=$HOME/.android/sdk make -j`nproc` all docs
|
|
|
|
- run: docker build .
|
2024-09-11 19:52:43 -04:00
|
|
|
- uses: actions/upload-artifact@v3
|
2024-09-11 19:33:37 -04:00
|
|
|
with:
|
2024-09-18 20:15:50 -04:00
|
|
|
path: out/TildeFriends-release.fdroid.apk
|
2024-09-11 19:52:43 -04:00
|
|
|
- uses: actions/upload-artifact@v3
|
2024-09-11 19:33:37 -04:00
|
|
|
with:
|
|
|
|
path: out/winrelease/tildefriends.exe
|
2024-09-25 12:49:32 -04:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
path: out/tildefriends-x86_64.AppImage
|