Commit c95e838
committed
ci(mobile): build matrix-mt prebuilt for android+ios alongside the st one
test-android-sample.yml and test-ios-sample.yml only built
@cpp.js/sample-lib-prebuilt-matrix (st), but `pnpm -r e2e:android`/
`pnpm run e2e:ios` recurse into every workspace and also run the e2e
test for @cpp.js/sample-mobile-reactnative-cli-multithread. That mt
sample's native.cpp does `#include <Matrix.h>`, which resolves via
cppjs deps to matrix-mt's dist/prebuilt/<target>/include — never
produced because the filter didn't match the -multithread package.
Symptom on the last v2-new-samples Android run:
cppjs-sample-mobile-reactnative-cli-multithread/src/native/native.cpp:2:10:
fatal error: 'Matrix.h' file not found
> Task :cpp.js_plugin-react-native:buildCMakeRelWithDebInfo[arm64-v8a] FAILED
Switch the filter to a glob so pnpm picks up both:
--filter=@cpp.js/sample-lib-prebuilt-matrix
→ --filter='@cpp.js/sample-lib-prebuilt-matrix*'
Verified locally — `pnpm --filter='@cpp.js/sample-lib-prebuilt-matrix*' list`
returns the st and mt packages. Both have build:android / build:ios scripts
already (the cmake/source siblings have neither because they're inline libs).1 parent 3425c1e commit c95e838
2 files changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
0 commit comments