Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox committed Jun 1, 2024
1 parent c326c91 commit 73e1aa5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,19 @@ jobs:
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r26d
ndk-version: r21e
add-to-path: false
local-cache: false

- name: Build
run: |
cd build
ls -R ${{ steps.setup-ndk.outputs.ndk-path }}
cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_STATIC=ON -DBUILD_TOUCH_INPUT=ON -DBUILD_WITH_ALL=ON -DBUILD_SOKOL=ON -DCMAKE_TOOLCHAIN_FILE=${{ steps.setup-ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=android-28 ..
cmake --build . --config MinSizeRel --parallel
- name: Deploy
uses: actions/upload-artifact@v4
with:
name: "tic80-android"
path: build/bin/tic80.so

0 comments on commit 73e1aa5

Please sign in to comment.