-
Notifications
You must be signed in to change notification settings - Fork 15
42 lines (39 loc) · 1 KB
/
build_android.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build Android
on:
workflow_dispatch:
workflow_call:
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- arch: arm64
- arch: arm32
- arch: x86_64
- arch: x86_32
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install newer Clang
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x ./llvm.sh
sudo ./llvm.sh 17
- name: 🔗 GDExtension Build
uses: godotengine/godot-cpp-template/.github/actions/build@main
with:
platform: android
arch: ${{ matrix.arch }}
build-target-type: template_release
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: godot-riscv-android-${{ matrix.arch }}
path: |
${{ github.workspace }}/bin/**/*.so
if-no-files-found: error