File tree 1 file changed +10
-0
lines changed 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,13 @@ jobs:
118
118
- name : Inject V8
119
119
run : |
120
120
./libexec/inject-libv8 ${{ steps.set-metadata.outputs.NODE_VERSION }}
121
+ - name : Test V8 in C++
122
+ run : |
123
+ cd test/gtest
124
+ cmake -S . -B build
125
+ cd build
126
+ cmake --build .
127
+ ./c_v8_tests
121
128
- name : Build binary gem
122
129
run : |
123
130
bundle exec rake binary
@@ -245,6 +252,9 @@ jobs:
245
252
- name : Inject V8
246
253
run : |
247
254
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} ./libexec/inject-libv8 ${{ steps.set-metadata.outputs.NODE_VERSION }}
255
+ - name : Test V8 in C++
256
+ run : |
257
+ docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bash -c "cd test/gtest && cmake -S . -B build && cd build && cmake --build . && ctest"
248
258
- name : Build binary gem
249
259
run : |
250
260
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle exec rake binary[${{ steps.platform.outputs.ruby_target_platform }}]
You can’t perform that action at this time.
0 commit comments