File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,28 +47,37 @@ jobs:
4747 find "$GITHUB_WORKSPACE" -maxdepth 3 -type f | sort
4848 ls -la "$GITHUB_WORKSPACE/auxiliary functions"
4949
50+ - name : Verify C++ runtime
51+ shell : bash
52+ run : |
53+ test -f "$HOME/miniforge3/envs/pythonocc/lib/libstdc++.so.6"
54+ strings "$HOME/miniforge3/envs/pythonocc/lib/libstdc++.so.6" \
55+ | grep CXXABI_1.3.15
56+
5057 - name : Run MATLAB unit tests
5158 uses : matlab-actions/run-command@v2
59+ env :
60+ LD_PRELOAD : /home/runner/miniforge3/envs/pythonocc/lib/libstdc++.so.6
5261 with :
5362 command : |
5463 cd(getenv("GITHUB_WORKSPACE"));
5564 addpath(pwd);
56-
65+
5766 pythonPath = fullfile( ...
5867 getenv("HOME"), ...
5968 " miniforge3" , ...
6069 " envs" , ...
6170 " pythonocc" , ...
6271 " bin" , ...
6372 " python3" );
64-
73+
6574 pyenv( ...
6675 Version=pythonPath, ...
6776 ExecutionMode="OutOfProcess");
68-
77+
6978 suite = matlab.unittest.TestSuite.fromFolder( ...
7079 " unit test" , ...
7180 " IncludingSubfolders" , true);
72-
81+
7382 results = run(suite);
7483 assertSuccess(results);
You can’t perform that action at this time.
0 commit comments