Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,23 +80,23 @@ jobs:
- run: cmake --install build --prefix build/install

android:
runs-on: macos-latest
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v6
- uses: lukka/get-cmake@latest
- name: Configure
- name: Build
run: |
cmake -S . -B build/ --toolchain $ANDROID_NDK_ROOT/build/cmake/android.toolchain.cmake \
-D ANDROID_PLATFORM=29 \
-D CMAKE_ANDROID_ARCH_ABI=arm64-v8a \
-D CMAKE_ANDROID_STL_TYPE=c++_static \
-D ANDROID_USE_LEGACY_TOOLCHAIN_FILE=NO \
-D CMAKE_BUILD_TYPE=Release \
-D UPDATE_DEPS=ON \
-G "Ninja"
- run: cmake --build build
- run: cmake --install build --prefix build/install
ANDROID_NDK_ROOT=${ANDROID_NDK_LATEST_HOME} scripts/android.py \
--config Release \
--app-abi "arm64-v8a x86_64"

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: layers-${{ github.run_id }}
path: build-android/libs/lib/**/*
if-no-files-found: 'error'

macos:
runs-on: macos-latest
Expand Down
Loading