Repository navigation
Commit fdec9e6
Make the HelloWorld dynamic-frameworks CI lane actually use dynamic frameworks (#58962)
Summary:
#54482 changed the `test_ios_helloworld` matrix from `use_frameworks: [StaticLibraries, DynamicFrameworks]` to `[false, true]` and updated `test-ios-rntester` to match, but `test-ios-helloworld` still checks the input against `"DynamicFrameworks"`:
```bash
if [[ ${{ inputs.use-frameworks }} == "DynamicFrameworks" ]]; then
args+=(--frameworks dynamic)
fi
```
So the `true` lane builds with static libraries, the same as the `false` lane, and HelloWorld with dynamic frameworks is no longer tested. The Debug exclude (`use_frameworks: StaticLibraries`) also matches nothing, so `(Debug, false)` runs even though the Ruby 3.2.0 job already covers it. The latest Test All run on main shows all four `test_ios_helloworld` combinations.
This makes the action compare the input to `"true"`, as `test-ios-rntester` does, and changes the exclude to `use_frameworks: false`. The Ruby 3.2.0 job passes no `use-frameworks`, so it keeps the default and still builds static libraries.
## Changelog:
[INTERNAL] [FIXED] - Make the HelloWorld dynamic-frameworks CI lane use dynamic frameworks
Pull Request resolved: #58962
Test Plan:
- `actionlint` on `test-all.yml`: the "value StaticLibraries in exclude does not match" error is gone.
- On this PR, Test All should run three `test_ios_helloworld` jobs, and the `(…, true)` ones should pass `--frameworks dynamic` to `yarn bootstrap ios`.
Reviewed By: christophpurrer
Differential Revision: D124991517
Pulled By: cipolleschi
fbshipit-source-id: 0fc93840150ef014feee2499183cb1f1605d0bbf1 parent dcc38df commit fdec9e6
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
| 537 | + | |
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| |||
0 commit comments