Skip to content

Commit

Permalink
ci: Install vcpkg packages
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Jul 18, 2024
1 parent f9e3c1b commit 906af4b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 21 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build-apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,28 @@ jobs:
- name: Setup Android SDK
uses: android-actions/setup-android@v3

# - name: Install NDK
# run: sdkmanager "ndk;27.0.11902837"

- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: 1de2026f28ead93ff1773e6e680387643e914ea1 # 2024.07.12

- name: Get Dependencies
run: |
set -ex
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
ninja-build
- name: Install vcpkg packages
run: |
vcpkg install curl:x86-android openssl:x86-android
vcpkg install curl:x64-android openssl:x64-android
vcpkg install curl:arm-neon-android openssl:arm-neon-android
vcpkg install curl:arm64-android openssl:arm64-android
- name: Setup EAS
uses: expo/expo-github-action@v8
with:
Expand Down
42 changes: 21 additions & 21 deletions apps/app/app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,27 @@ module.exports = () => {
'expo-router',
'@config-plugins/react-native-webrtc',
'expo-localization',
[
'expo-build-properties',
{
android: {
packagingOptions: {
pickFirst: [
// X64
'/lib/arm64-v8a/libcrypto.so',
'/lib/arm64-v8a/libssl.so',
'/lib/x86_64/libcrypto.so',
'/lib/x86_64/libssl.so',
// x86
'/lib/armeabi-v7a/libcrypto.so',
'/lib/armeabi-v7a/libssl.so',
'/lib/x86/libcrypto.so',
'/lib/x86/libssl.so',
],
},
},
},
],
// [
// 'expo-build-properties',
// {
// android: {
// packagingOptions: {
// pickFirst: [
// // X64
// '/lib/arm64-v8a/libcrypto.so',
// '/lib/arm64-v8a/libssl.so',
// '/lib/x86_64/libcrypto.so',
// '/lib/x86_64/libssl.so',
// // x86
// '/lib/armeabi-v7a/libcrypto.so',
// '/lib/armeabi-v7a/libssl.so',
// '/lib/x86/libcrypto.so',
// '/lib/x86/libssl.so',
// ],
// },
// },
// },
// ],
// We use notifee, but expo-notification allows us
// to generate 'notification_icon'
[
Expand Down

0 comments on commit 906af4b

Please sign in to comment.