Skip to content

Update cpp_build.yml #3

Update cpp_build.yml

Update cpp_build.yml #3

Workflow file for this run

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