Skip to content

Commit 18ce250

Browse files
committed
WIP: adding copy command on ci for dlls in cpp tests
1 parent d922bd2 commit 18ce250

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/test-pass.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,23 +44,31 @@ jobs:
4444
# TODO: debug
4545
- name: List the files in the bin cpp
4646
run: |
47-
ls ${{github.workspace}}/build/bin/Release
47+
dir ${{github.workspace}}/build/bin/Release
4848
4949
# TODO: debug
5050
- name: List the files in the bin pybinds
5151
run: |
52-
ls ${{github.workspace}}/build/Release
52+
dir ${{github.workspace}}/build/Release
5353
5454
- name: Copying the dlls for python tests and c++ tests
5555
run: |
56-
cp ${{github.workspace}}/build/bin/Release/diffCheck.dll ${{github.workspace}}/tests/integration_tests/pybinds_tests
57-
cp ${{github.workspace}}/build/bin/Release/Open3D.dll ${{github.workspace}}/tests/integration_tests/pybinds_tests
58-
cp ${{github.workspace}}/build/Release/*.pyd ${{github.workspace}}/tests/integration_tests/pybinds_tests
56+
copy ${{github.workspace}}/build/bin/Release/diffCheck.dll ${{github.workspace}}/build/df_tests/Release
57+
copy ${{github.workspace}}/build/bin/Release/Open3D.dll ${{github.workspace}}/build/df_tests/Release
58+
59+
copy ${{github.workspace}}/build/bin/Release/diffCheck.dll ${{github.workspace}}/tests/integration_tests/pybinds_tests
60+
copy ${{github.workspace}}/build/bin/Release/Open3D.dll ${{github.workspace}}/tests/integration_tests/pybinds_tests
61+
copy ${{github.workspace}}/build/Release/*.pyd ${{github.workspace}}/tests/integration_tests/pybinds_tests
62+
63+
# TODO: debug
64+
- name: test if the dlls are copied for python tests
65+
run: |
66+
dir ${{github.workspace}}/tests/integration_tests/pybinds_tests
5967
6068
# TODO: debug
61-
- name: test if the dlls are copied
69+
- name: test if the dlls are copied for c++ tests
6270
run: |
63-
ls ${{github.workspace}}/tests/integration_tests/pybinds_tests
71+
dir ${{github.workspace}}/build/df_tests/Release
6472
6573
- name: Run tests with cmake
6674
run: |

0 commit comments

Comments
 (0)