-
Notifications
You must be signed in to change notification settings - Fork 115
58 lines (55 loc) · 1.86 KB
/
build.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Android NDK
run: |
wget https://dl.google.com/android/repository/android-ndk-r27b-linux.zip
unzip android-ndk-r27b-linux.zip
- name: Build (AArch64)
run: |
ANDROID_NDK_HOME=./android-ndk-r27b CXX=aarch64-linux-android35-clang++ ./build.sh
zip -r ih8sn-aarch64.zip META-INF system push.ps1 push.sh
- uses: actions/upload-artifact@v4
with:
name: ih8sn (AArch64)
path: ih8sn-aarch64.zip
- name: Build (ARMv7-A)
run: |
ANDROID_NDK_HOME=./android-ndk-r27b CXX=armv7a-linux-androideabi35-clang++ ./build.sh
zip -r ih8sn-armv7a.zip META-INF system push.ps1 push.sh
- uses: actions/upload-artifact@v4
with:
name: ih8sn (ARMv7-A)
path: ih8sn-armv7a.zip
- name: Build (i686)
run: |
ANDROID_NDK_HOME=./android-ndk-r27b CXX=i686-linux-android35-clang++ ./build.sh
zip -r ih8sn-i686.zip META-INF system push.ps1 push.sh
- uses: actions/upload-artifact@v4
with:
name: ih8sn (i686)
path: ih8sn-i686.zip
- name: Build (x86_64)
run: |
ANDROID_NDK_HOME=./android-ndk-r27b CXX=x86_64-linux-android35-clang++ ./build.sh
zip -r ih8sn-x86_64.zip META-INF system push.ps1 push.sh
- uses: actions/upload-artifact@v4
with:
name: ih8sn (x86_64)
path: ih8sn-x86_64.zip
- uses: marvinpinto/action-automatic-releases@latest
if: github.ref == 'refs/heads/master'
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "${{ env.GITHUB_SHA }}"
files: |
ih8sn-aarch64.zip
ih8sn-armv7a.zip
ih8sn-i686.zip
ih8sn-x86_64.zip