Use sailfish config globally #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Android NDK | |
run: | | |
wget https://dl.google.com/android/repository/android-ndk-r25b-linux.zip | |
unzip android-ndk-r25b-linux.zip | |
- name: Build (AArch64) | |
run: | | |
ANDROID_NDK_HOME=./android-ndk-r25b CXX=aarch64-linux-android33-clang++ ./build.sh | |
zip -r ih8pi-aarch64.zip META-INF system push.ps1 push.sh | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: ih8pi (AArch64) | |
path: ih8pi-aarch64.zip | |
- name: Build (ARMv7-A) | |
run: | | |
ANDROID_NDK_HOME=./android-ndk-r25b CXX=armv7a-linux-androideabi33-clang++ ./build.sh | |
zip -r ih8pi-armv7a.zip META-INF system push.ps1 push.sh | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: ih8pi (ARMv7-A) | |
path: ih8pi-armv7a.zip | |
- name: Build (i686) | |
run: | | |
ANDROID_NDK_HOME=./android-ndk-r25b CXX=i686-linux-android33-clang++ ./build.sh | |
zip -r ih8pi-i686.zip META-INF system push.ps1 push.sh | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: ih8pi (i686) | |
path: ih8pi-i686.zip | |
- name: Build (x86_64) | |
run: | | |
ANDROID_NDK_HOME=./android-ndk-r25b CXX=x86_64-linux-android33-clang++ ./build.sh | |
zip -r ih8pi-x86_64.zip META-INF system push.ps1 push.sh | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: ih8pi (x86_64) | |
path: ih8pi-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: | | |
ih8pi-aarch64.zip | |
ih8pi-armv7a.zip | |
ih8pi-i686.zip | |
ih8pi-x86_64.zip |