-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 961 Bytes
/
cpp_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
name: Build and Package iOS App
on:
push:
branches:
- main
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'jdk'
- name: Set up Android SDK
uses: android-actions/setup-android@v2
with:
sdk-platform: 'android-30'
- name: Install dependencies
run: |
- name: Build and Package
run: |
$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -std=c++11 -stdlib=libc++ -o kiriii2 project/android/jni/src/SDL_android_main.cpp
# Package the executable into an IPA file
ios-deploy --bundle kiriii2 --output kiriii2.ipa
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: kiriii2
path: kiriii2.ipa