Skip to content

Commit

Permalink
Add to PR/CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthysell committed Nov 14, 2024
1 parent 7f7a617 commit cce9c2a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
sampleName: ['NativeModuleSample\cppwinrt', 'NativeModuleSample\csharp']
sampleName: ['NativeModuleSample\cpp-lib', 'NativeModuleSample\cppwinrt', 'NativeModuleSample\csharp']
configuration: ['Debug', 'Release']
platform: ['x86', 'x64', 'ARM64']
uses: ./.github/workflows/template-buildsample.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
strategy:
fail-fast: true
matrix:
sampleName: ['NativeModuleSample\cppwinrt', 'NativeModuleSample\csharp']
sampleName: ['NativeModuleSample\cpp-lib', 'NativeModuleSample\cppwinrt', 'NativeModuleSample\csharp']
configuration: ['Debug', 'Release']
platform: ['x86']
uses: ./.github/workflows/template-buildsample.yml
Expand Down
10 changes: 10 additions & 0 deletions samples/NativeModuleSample/cpp-lib/react-native.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* @type {import('@react-native-community/cli-types').UserDependencyConfig}
*/

module.exports = {
dependency: {
platforms: {
Expand All @@ -16,4 +17,13 @@ module.exports = {
},
},
},
project: {
windows: {
sourceDir: 'example\\windows',
solutionFile: 'NativeModuleSampleExample.sln',
project: {
projectFile: 'NativeModuleSampleExample\\NativeModuleSampleExample.vcxproj',
},
},
},
};

0 comments on commit cce9c2a

Please sign in to comment.