|
32 | 32 | USE_CCACHE: 1 |
33 | 33 |
|
34 | 34 | jobs: |
35 | | - build_new: |
36 | | - name: Build iOS Example App (new architecture) |
| 35 | + build: |
| 36 | + name: Build iOS Example App |
37 | 37 | runs-on: macOS-15 |
38 | 38 | steps: |
39 | 39 | - uses: actions/checkout@v4 |
|
48 | 48 | - name: Setup Ruby (bundle) |
49 | 49 | uses: ruby/setup-ruby@v1 |
50 | 50 | with: |
51 | | - ruby-version: 2.7.2 |
| 51 | + ruby-version: 3.3.0 |
52 | 52 | bundler-cache: true |
53 | 53 | working-directory: example/ios |
54 | 54 |
|
|
59 | 59 | key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock', '**/Gemfile.lock') }} |
60 | 60 | restore-keys: | |
61 | 61 | ${{ runner.os }}-pods- |
62 | | - - name: Install Pods |
63 | | - working-directory: example/ios |
64 | | - run: pod install |
65 | | - - name: Build App |
66 | | - working-directory: example/ios |
67 | | - run: "set -o pipefail && xcodebuild \ |
68 | | - CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \ |
69 | | - -derivedDataPath build -UseModernBuildSystem=YES \ |
70 | | - -workspace NitroSQLiteExample.xcworkspace \ |
71 | | - -scheme NitroSQLiteExample \ |
72 | | - -sdk iphonesimulator \ |
73 | | - -configuration Debug \ |
74 | | - -destination 'platform=iOS Simulator,name=iPhone 16' \ |
75 | | - build \ |
76 | | - CODE_SIGNING_ALLOWED=NO" |
77 | | - |
78 | | - build_old: |
79 | | - name: Build iOS Example App (old architecture) |
80 | | - runs-on: macOS-15 |
81 | | - steps: |
82 | | - - uses: actions/checkout@v4 |
83 | | - - uses: oven-sh/setup-bun@v2 |
84 | | - |
85 | | - - name: Install npm dependencies (bun) |
86 | | - run: bun install |
87 | | - |
88 | | - - name: Disable new architecture in Podfile |
89 | | - run: sed -i "" "s/ENV\['RCT_NEW_ARCH_ENABLED'\] = '1'/ENV['RCT_NEW_ARCH_ENABLED'] = '0'/g" example/ios/Podfile |
90 | 62 |
|
91 | | - - name: Restore buildcache |
92 | | - uses: mikehardy/buildcache-action@v2 |
93 | | - continue-on-error: true |
94 | | - |
95 | | - - name: Setup Ruby (bundle) |
96 | | - uses: ruby/setup-ruby@v1 |
97 | | - with: |
98 | | - ruby-version: 2.7.2 |
99 | | - bundler-cache: true |
100 | | - working-directory: example/ios |
101 | | - |
102 | | - - name: Restore Pods cache |
103 | | - uses: actions/cache@v4 |
104 | | - with: |
105 | | - path: example/ios/Pods |
106 | | - key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock', '**/Gemfile.lock') }} |
107 | | - restore-keys: | |
108 | | - ${{ runner.os }}-pods- |
109 | 63 | - name: Install Pods |
110 | 64 | working-directory: example/ios |
111 | 65 | run: pod install |
|
0 commit comments