tildefriends/.gitea/workflows/build.yaml

39 lines
1.2 KiB
YAML
Raw Normal View History

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
container:
2024-09-11 19:00:30 -04:00
valid_volumes: ['/opt/keys']
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
- run: ln -s /opt/keys .keys
2024-09-25 19:33:30 -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'
- run: sudo apt update && sudo apt install -y doxygen graphviz libfuse2 mingw-w64 && sudo modprobe fuse
- run: ANDROID_SDK=$HOME/.android/sdk make -j`nproc` appimage docs
#- run: docker build .
- uses: actions/upload-artifact@v3
with:
path: out/TildeFriends-release.fdroid.apk
- uses: actions/upload-artifact@v3
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