99 - " package/cpp/**"
1010 - " package/ios/**"
1111 - " package/*.podspec"
12- - " package/example/ios/**"
12+ - " package/example/AppExampleFabric/ ios/**"
1313 pull_request :
1414 paths :
1515 - " .github/workflows/build-ios.yml"
1616 - " package/cpp/**"
1717 - " package/ios/**"
1818 - " package/*.podspec"
19- - " package/example/ios/**"
19+ - " package/example/AppExampleFabric/ ios/**"
2020
2121jobs :
2222 build :
2323 name : Build iOS Example App
2424 runs-on : macOS-latest
2525 defaults :
2626 run :
27- working-directory : package/example/ios
27+ working-directory : package/example/AppExampleFabric/ ios
2828 steps :
2929 - uses : actions/checkout@v4
3030
3131 - name : Get yarn cache directory path
3232 id : yarn-cache-dir-path
33- run : echo "dir=$(yarn cache dir )" >> $GITHUB_OUTPUT
33+ run : echo "dir=$(yarn config get cacheFolder )" >> $GITHUB_OUTPUT
3434 - name : Restore node_modules from cache
3535 uses : actions/cache@v4
3636 id : yarn-cache
4040 restore-keys : |
4141 ${{ runner.os }}-yarn-
4242 - name : Install node_modules for example/
43- run : yarn install --frozen-lockfile --cwd ..
43+ run : yarn install --immutable
4444
4545 - name : Restore buildcache
4646 uses : mikehardy/buildcache-action@v2
@@ -49,14 +49,14 @@ jobs:
4949 - name : Setup Ruby (bundle)
5050 uses : ruby/setup-ruby@v1
5151 with :
52- ruby-version : 2.6.10
52+ ruby-version : 3.4.4
5353 bundler-cache : true
54- working-directory : package/example/ios
54+ working-directory : package/example/AppExampleFabric/
5555
5656 - name : Restore Pods cache
5757 uses : actions/cache@v4
5858 with :
59- path : package/example/ios/Pods
59+ path : package/example/ios/AppExampleFabric/ Pods
6060 key : ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
6161 restore-keys : |
6262 ${{ runner.os }}-pods-
@@ -66,12 +66,12 @@ jobs:
6666 run : gem install xcpretty
6767 - name : Build App
6868 run : " set -o pipefail && xcodebuild \
69- CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \
69+ CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO \
7070 -derivedDataPath build -UseModernBuildSystem=YES \
71- -workspace RNFFabric .xcworkspace \
72- -scheme RNFFabric \
71+ -workspace AppExampleFabric .xcworkspace \
72+ -scheme AppExampleFabric \
7373 -sdk iphonesimulator \
7474 -configuration Debug \
75- -destination 'platform=iOS Simulator,name=iPhone 11 Pro' \
75+ -destination 'platform=iOS Simulator,name=iPhone 16 Pro Max ' \
7676 build \
7777 CODE_SIGNING_ALLOWED=NO | xcpretty"
0 commit comments