Skip to content

Commit

Permalink
[ci] fix fragile test
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Oct 18, 2024
1 parent c442361 commit 5316f69
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
- name: Run octave test
run: |
octave-cli --version
octave-cli --eval "addpath(pwd);cd sample; demo_vol2mesh_ex1; demo_vol2mesh_ex1b; demo_vol2mesh_ex1c"
octave-cli --eval "addpath(pwd);cd sample; demo_vol2mesh_ex2; demo_vol2mesh_ex3"
octave-cli --eval "addpath(pwd);cd sample; demo_surf2mesh_ex1"
octave-cli --eval "addpath(pwd);cd sample; demo_directplc_ex1"
octave-cli --eval "addpath(pwd);cd sample; demo_grayscale_ex1"
octave-cli --eval "addpath(pwd);cd sample; demo_shortcut_ex1"
octave-cli --eval "addpath(pwd);cd sample; demo_surf2vol_ex1"
octave-cli --eval "addpath(pwd);cd sample; demo_label_sizing"
octave-cli --eval "addpath(pwd);cd sample; demo_qmeshcut_ex1"
octave-cli --eval "addpath(pwd);cd sample; tic; demo_vol2mesh_ex1; toc; demo_vol2mesh_ex1b; demo_vol2mesh_ex1c"
octave-cli --eval "addpath(pwd);cd sample; tic; demo_vol2mesh_ex2; toc; demo_vol2mesh_ex3; toc"
octave-cli --eval "addpath(pwd);cd sample; tic; demo_surf2mesh_ex1; toc"
octave-cli --eval "addpath(pwd);cd sample; tic; demo_directplc_ex1; toc"
octave-cli --eval "addpath(pwd);cd sample; tic; demo_grayscale_ex1; toc"
octave-cli --eval "addpath(pwd);cd sample; tic; demo_shortcut_ex1; toc"
octave-cli --eval "addpath(pwd);cd sample; tic; demo_surf2vol_ex1; toc"
octave-cli --eval "addpath(pwd);cd sample; tic; demo_label_sizing; toc"
octave-cli --eval "addpath(pwd);cd sample; tic; demo_qmeshcut_ex1; toc"
matlab_test:
name: MATLAB test
Expand All @@ -61,21 +61,21 @@ jobs:
- name: Run MATLAB test
uses: matlab-actions/run-command@v1
with:
command: addpath(pwd);cd sample; demo_vol2mesh_ex1; demo_vol2mesh_ex1b; demo_vol2mesh_ex1c
command: addpath(pwd);cd sample; tic; demo_vol2mesh_ex1; toc; demo_vol2mesh_ex1b; toc; demo_vol2mesh_ex1c; toc
- name: Run MATLAB examples
uses: matlab-actions/run-command@v1
with:
command: addpath(pwd);cd sample; demo_vol2mesh_ex2; demo_vol2mesh_ex3
command: addpath(pwd);cd sample; tic; demo_vol2mesh_ex2; toc; demo_vol2mesh_ex3; toc
- name: Run MATLAB examples
uses: matlab-actions/run-command@v1
with:
command: addpath(pwd);cd sample; demo_surf2mesh_ex1; demo_directplc_ex1; demo_grayscale_ex1
command: addpath(pwd);cd sample; tic; demo_surf2mesh_ex1; demo_directplc_ex1; toc; demo_grayscale_ex1; toc
- name: Run MATLAB examples
uses: matlab-actions/run-command@v1
with:
command: addpath(pwd);cd sample; demo_shortcut_ex1; demo_surf2vol_ex1; demo_label_sizing
command: addpath(pwd);cd sample; tic; demo_shortcut_ex1; demo_surf2vol_ex1; toc; demo_label_sizing; toc
- name: Run MATLAB examples
uses: matlab-actions/run-command@v1
with:
command: addpath(pwd);cd sample; demo_qmeshcut_ex1
command: addpath(pwd);cd sample; tic; demo_qmeshcut_ex1; toc

2 changes: 1 addition & 1 deletion sample/demo_vol2mesh_ex1b.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
% element, as 'cgalsurf' promises.

[node, elem, face] = vol2mesh(volimage > 0.05, 1:size(volimage, 1), 1:size(volimage, 2), ...
1:size(volimage, 3), 0.1, 2, 1, 'simplify');
1:size(volimage, 3), 0.08, 2, 1, 'simplify');

%% visualize the resulting mesh

Expand Down
2 changes: 1 addition & 1 deletion tools/PoissonRecon
Submodule PoissonRecon updated 85 files
+4 −1 .gitignore
+121 −8 AdaptiveSolvers.sln
+3 −1 AdaptiveTreeVisualization.vcxproj
+2 −1 ChunkPLY.vcxproj
+2 −1 EDTInHeat.vcxproj
+2 −1 ImageStitching.vcxproj
+2 −1 JPEG.vcxproj
+62 −10 Makefile
+4 −3 PNG.vcxproj
+3 −1 PointInterpolant.vcxproj
+2 −1 PoissonRecon.vcxproj
+171 −0 PoissonReconClient.vcxproj
+171 −0 PoissonReconServer.vcxproj
+531 −127 README.md
+141 −0 Reconstruction.example.vcxproj
+2 −1 SSDRecon.vcxproj
+103 −45 Src/AdaptiveTreeVisualization.cpp
+8 −63 Src/Allocator.h
+7 −4 Src/Array.h
+12 −8 Src/Array.inl
+1 −0 Src/BSplineData.h
+95 −28 Src/BlockedVector.h
+7 −11 Src/ChunkPLY.cpp
+27 −22 Src/CmdLineParser.inl
+0 −285 Src/CoredMesh.h
+0 −239 Src/CoredMesh.inl
+149 −0 Src/DataStream.h
+289 −0 Src/DataStream.imp.h
+46 −63 Src/DataStream.imp.inl
+57 −76 Src/EDTInHeat.cpp
+190 −1 Src/FEMTree.Evaluation.inl
+45 −129 Src/FEMTree.Initialize.inl
+0 −1,906 Src/FEMTree.IsoSurface.specialized.inl
+1,152 −0 Src/FEMTree.LevelSet.2D.inl
+2,356 −0 Src/FEMTree.LevelSet.3D.inl
+828 −0 Src/FEMTree.LevelSet.inl
+68 −17 Src/FEMTree.SortedTreeNodes.inl
+30 −25 Src/FEMTree.System.inl
+86 −14 Src/FEMTree.WeightedSamples.inl
+564 −204 Src/FEMTree.h
+1,036 −301 Src/FEMTree.inl
+35 −18 Src/Geometry.h
+30 −2 Src/Image.h
+35 −32 Src/ImageStitching.cpp
+28 −0 Src/JPEG.h
+28 −0 Src/JPEG.inl
+7 −0 Src/MarchingCubes.h
+71 −0 Src/MergePlyClientServer.h
+530 −0 Src/MergePlyClientServer.inl
+223 −119 Src/MyMiscellany.h
+28 −0 Src/PNG.h
+28 −5 Src/PNG.inl
+18 −3 Src/Ply.h
+253 −62 Src/Ply.inl
+26 −1 Src/PlyFile.h
+2 −2 Src/PlyFile.inl
+182 −144 Src/PointInterpolant.cpp
+161 −0 Src/PointPartition.h
+659 −0 Src/PointPartition.inl
+72 −0 Src/PointPartitionClientServer.h
+471 −0 Src/PointPartitionClientServer.inl
+1,546 −0 Src/PoissonRecon.client.inl
+271 −731 Src/PoissonRecon.cpp
+752 −0 Src/PoissonRecon.server.inl
+210 −0 Src/PoissonReconClient.cpp
+97 −0 Src/PoissonReconClientServer.h
+432 −0 Src/PoissonReconClientServer.inl
+538 −0 Src/PoissonReconServer.cpp
+5 −4 Src/PreProcessor.h
+362 −0 Src/Reconstruction.example.cpp
+1,341 −0 Src/Reconstructors.h
+694 −0 Src/Reconstructors.streams.h
+61 −24 Src/RegularTree.h
+231 −119 Src/RegularTree.inl
+254 −574 Src/SSDRecon.cpp
+143 −0 Src/Socket.h
+233 −0 Src/Socket.inl
+158 −0 Src/Streams.h
+225 −46 Src/SurfaceTrimmer.cpp
+123 −55 Src/VertexFactory.h
+121 −53 Src/VertexFactory.inl
+0 −203 Src/VertexStream.h
+9 −0 Src/Window.h
+2 −1 SurfaceTrimmer.vcxproj
+2 −1 ZLIB.vcxproj
2 changes: 1 addition & 1 deletion tools/meshfix
2 changes: 1 addition & 1 deletion tools/tetgen
Submodule tetgen updated 1 files
+11 −1 CMakeLists.txt

0 comments on commit 5316f69

Please sign in to comment.