tildefriends/.gitea/workflows/build.yaml
Cory McWilliams 50d0875de2
Some checks are pending
Build Tilde Friends / Build-All (push) Waiting to run
Mount volumes across another container?
2024-09-11 18:49:06 -04:00

29 lines
861 B
YAML

name: Build Tilde Friends
run-name: ${{ gitea.actor }} running 🚀
on: [push]
jobs:
Build-All:
runs-on: ubuntu-latest
container:
volumes:
/opt/keys:/opt/keys
steps:
- name: check out code
uses: actions/checkout@v4
with:
submodules: true
- run: pwd; ln -s /opt/keys .keys; ls -alh . /opt
- 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 mingw-w64
- run: ANDROID_SDK=$HOME/.android/sdk make all -j`nproc` docs
- run: docker build .