Skip to content

Commit 7849fff

Browse files
integrate test into actions
1 parent 31b35f6 commit 7849fff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ jobs:
118118
- name: Inject V8
119119
run: |
120120
./libexec/inject-libv8 ${{ steps.set-metadata.outputs.NODE_VERSION }}
121+
- name: Test V8 in C++
122+
run: |
123+
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} cd test/gtest && cmake -S . -B build && cd build && cmake --build . && ctest
121124
- name: Build binary gem
122125
run: |
123126
bundle exec rake binary
@@ -245,6 +248,9 @@ jobs:
245248
- name: Inject V8
246249
run: |
247250
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} ./libexec/inject-libv8 ${{ steps.set-metadata.outputs.NODE_VERSION }}
251+
- name: Test V8 in C++
252+
run: |
253+
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} cd test/gtest && cmake -S . -B build && cd build && cmake --build . && ctest
248254
- name: Build binary gem
249255
run: |
250256
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle exec rake binary[${{ steps.platform.outputs.ruby_target_platform }}]

0 commit comments

Comments
 (0)