Skip to content

Commit

Permalink
Add Android (NDK23/API33) binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed Apr 20, 2024
1 parent 547cb6e commit f1c2cfc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .gitea/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,16 @@ jobs:
- name: Test
shell: bash
run: dub build -a x86_64-apple-ios16.0-simulator --compiler ldc2 --single test.d

android-arm64:
runs-on: [ubuntu, android-cross]
steps:
- name: Check out repository code
uses: actions/checkout@v3
with:
submodules: true
- name: Test
shell: bash
run: |
source ~/android-ndk-envvars
dub build -a aarch64-linux-android --compiler ldc2 --single test.d
3 changes: 2 additions & 1 deletion dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ sourceFiles "lib/macos-x86_64/liblcms2.a" platform="osx-x86_64"
sourceFiles "lib/macos-arm64/liblcms2.a" platform="osx-aarch64"
sourceFiles "lib/ios-arm64/liblcms2.a" platform="ios-aarch64"
sourceFiles "lib/ios-simulator-x86_64/liblcms2.a" platform="ios-x86_64"
libs ":${PACKAGE_DIR}/lib/linux-x86_64/liblcms2.a" platform="linux-x86_64"
lflags "${PACKAGE_DIR}/lib/linux-x86_64/liblcms2.a" platform="linux-x86_64"
lflags "${PACKAGE_DIR}/lib/android-arm64/liblcms2.a" platform="android-aarch64"
Binary file added lib/android-arm64/liblcms2.a
Binary file not shown.

0 comments on commit f1c2cfc

Please sign in to comment.