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:
|
2025-02-01 08:34:42 -05:00
|
|
|
image: node:23-bookworm-slim
|
2025-02-01 14:17:15 -05:00
|
|
|
valid_volumes:
|
|
|
|
- '/opt/keys'
|
|
|
|
- '/opt/deps'
|
2024-09-11 18:49:06 -04:00
|
|
|
volumes:
|
2024-09-11 18:54:39 -04:00
|
|
|
- /opt/keys:/opt/keys
|
2025-02-01 12:50:31 -05:00
|
|
|
- /opt/deps:/opt/deps
|
2024-07-16 22:20:45 -04:00
|
|
|
steps:
|
2025-02-01 17:19:28 -05:00
|
|
|
- run: apt update && apt install -y doxygen git graphviz mingw-w64 libgpgme11 gcc-aarch64-linux-gnu zip unzip build-essential docker.io curl clang file
|
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
|
2025-02-01 12:50:31 -05:00
|
|
|
- run: ln -s /opt/deps/ios_toolchain deps/ios_toolchain
|
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'
|
2025-02-01 09:49:49 -05:00
|
|
|
- run: ANDROID_SDK=$HOME/.android/sdk make -j`nproc` all dist docs
|
2024-09-25 19:49:52 -04:00
|
|
|
- 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-12-24 10:31:09 -05:00
|
|
|
path: |
|
|
|
|
out/TildeFriends-release.fdroid.apk
|
2025-01-02 13:00:42 -05:00
|
|
|
out/winrelease/tildefriends.standalone.exe
|
2024-12-24 10:31:09 -05:00
|
|
|
out/tildefriends-x86_64.AppImage
|
|
|
|
out/release/tildefriends.standalone
|
|
|
|
out/armrelease/tildefriends.standalone
|
2025-02-01 09:49:49 -05:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: dist
|
|
|
|
path: dist/*
|