Skip to content

Commit

Permalink
[ci] use octave instead of octave-cli to use qt graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Oct 19, 2024
1 parent a98b005 commit 3bab67b
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
run: |
[[ "$RUNNER_OS" == "Linux" ]] && sudo apt-get update && sudo apt-get install -y octave cmake libcgal-dev libsuperlu-dev libsuitesparse-dev libgmp-dev libtbb-dev octave-image
if [[ "$RUNNER_OS" == "macOS" ]]; then
brew install gnuplot
brew install octave
fi
if [[ "$RUNNER_OS" == "Windows" ]]; then
Expand All @@ -37,15 +36,15 @@ jobs:
- name: Run octave test
run: |
octave-cli --version
octave-cli --eval "addpath(pwd);cd sample; disp(graphics_toolkit); tic; demo_vol2mesh_ex1; toc; demo_vol2mesh_ex1b; demo_vol2mesh_ex1c"
octave-cli --eval "addpath(pwd);cd sample; tic; demo_vol2mesh_ex2; 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"
octave --eval "addpath(pwd);cd sample; disp(graphics_toolkit); tic; demo_vol2mesh_ex1; toc; demo_vol2mesh_ex1b; demo_vol2mesh_ex1c"
octave --eval "addpath(pwd);cd sample; tic; demo_vol2mesh_ex2; toc"
octave --eval "addpath(pwd);cd sample; tic; demo_surf2mesh_ex1; toc"
octave --eval "addpath(pwd);cd sample; tic; demo_directplc_ex1; toc"
octave --eval "addpath(pwd);cd sample; tic; demo_grayscale_ex1; toc"
octave --eval "addpath(pwd);cd sample; tic; demo_shortcut_ex1; toc"
octave --eval "addpath(pwd);cd sample; tic; demo_surf2vol_ex1; toc"
octave --eval "addpath(pwd);cd sample; tic; demo_label_sizing; toc"
octave --eval "addpath(pwd);cd sample; tic; demo_qmeshcut_ex1; toc"
- name: Rebuild binaries
if: ${{ runner.os == 'Linux' }} # use these variables to limit a step only on a specific OS
run: |
Expand Down

0 comments on commit 3bab67b

Please sign in to comment.