Skip to content

Commit

Permalink
update firebase cpp sdk and toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
hyp committed Sep 10, 2024
1 parent 6c64ef5 commit 8c0df35
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,16 @@ jobs:
tag: DEVELOPMENT-SNAPSHOT-2024-08-02-a

abi: arm64-v8a
options: -sdk ${env:SDKROOT}\..\..\..\..\Android.platform\Developer\SDKs\Android.sdk -sysroot ${env:ANDROID_NDK_ROOT}\toolchains\llvm\prebuilt\windows-x86_64\sysroot -I${env:SDKROOT}\..\..\..\..\..\..\Toolchains\0.0.0+Asserts\usr\include -Xlinker -zdefs
options: -sdk ${env:SDKROOT}..\..\..\..\Android.platform\Developer\SDKs\Android.sdk -sysroot ${env:ANDROID_NDK_ROOT}\toolchains\llvm\prebuilt\windows-x86_64\sysroot -I${env:SDKROOT}\usr\include -I${env:SDKROOT}\..\..\..\..\..\..\Toolchains\0.0.0+Asserts\usr\include -Xlinker -zdefs
target: aarch64-unknown-linux-android28

- branch: development
tag: DEVELOPMENT-SNAPSHOT-2024-08-02-a

abi: x86_64
options: -sdk ${env:SDKROOT}..\..\..\..\Android.platform\Developer\SDKs\Android.sdk -sysroot ${env:ANDROID_NDK_ROOT}\toolchains\llvm\prebuilt\windows-x86_64\sysroot -I${env:SDKROOT}\usr\include -I${env:SDKROOT}\..\..\..\..\..\..\Toolchains\0.0.0+Asserts\usr\include -Xlinker -zdefs
target: x86_64-unknown-linux-android28

name: CMake (Android) - Swift ${{ matrix.tag }}

steps:
Expand All @@ -114,21 +121,20 @@ jobs:
github-repo: thebrowsercompany/swift-build
github-token: ${{ secrets.GITHUB_TOKEN }}
release-asset-name: installer-amd64.exe
release-tag-name: "20240802.2"
release-tag-name: "20240909.3"

- uses: actions/checkout@v4

- uses: dsaltares/fetch-gh-release-asset@a40c8b4a0471f9ab81bdf73a010f74cc51476ad4 # v1.1.1
with:
repo: thebrowsercompany/firebase-cpp-sdk
version: tags/20240709.0
version: tags/20240909.0
file: firebase-android-arm64-v8a.zip

# FIXME(compnerd) workaround missing headers in the android builds
- uses: dsaltares/fetch-gh-release-asset@a40c8b4a0471f9ab81bdf73a010f74cc51476ad4 # v1.1.1
with:
repo: thebrowsercompany/firebase-cpp-sdk
version: tags/20240709.0
version: tags/20240909.0
file: firebase-windows-amd64.zip

- run: |
Expand All @@ -140,6 +146,7 @@ jobs:
shell: powershell
- uses: nttld/setup-ndk@afb4c9964b521afb97c864b7d40b11e6911bd410 # v1.5.0
id: setup-ndk
with:
ndk-version: r26d

Expand All @@ -153,6 +160,8 @@ jobs:
packages: 'platforms;android-21'

- name: Configure
env:
ANDROID_NDK_ROOT: ${{ steps.setup-ndk.outputs.ndk-path }}
run: |
cmake -B out `
-D CMAKE_BUILD_TYPE=RelWithDebInfo `
Expand Down

0 comments on commit 8c0df35

Please sign in to comment.