Skip to content

Commit 0123cb5

Browse files
committed
[ci] updated macos toolchain tests
1 parent f605749 commit 0123cb5

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 'Test TTK for Unix'
2+
description: 'Test TTK standalone, examples & states on Ubuntu & macOS'
3+
runs:
4+
using: "composite"
5+
steps:
6+
7+
- name: Test C++ example
8+
shell: bash
9+
run: |
10+
cd $GITHUB_WORKSPACE/examples/c++
11+
mkdir build && cd build
12+
cmake ..
13+
cmake --build . --parallel
14+
./ttkExample-c++ -i ../../data/inputData.off
15+
16+
- name: Test VTK-C++ example
17+
shell: bash
18+
run: |
19+
cd $GITHUB_WORKSPACE/examples/vtk-c++
20+
mkdir build && cd build
21+
cmake ..
22+
cmake --build . --parallel
23+
./ttkExample-vtk-c++ -i ../../data/inputData.vtu
24+
25+
- name: Test Python example
26+
shell: bash
27+
run: |
28+
cd $GITHUB_WORKSPACE/examples/python
29+
python3 example.py ../data/inputData.vtu
30+
31+
- name: Test pvpython example
32+
shell: bash
33+
run: |
34+
cd $GITHUB_WORKSPACE/examples/pvpython
35+
pvpython example.py ../data/inputData.vtu
36+
37+
- name: Test standalone
38+
shell: bash
39+
run: |
40+
cd $GITHUB_WORKSPACE
41+
ttkHelloWorldCmd -i examples/data/inputData.vtu

0 commit comments

Comments
 (0)