Skip to content

Commit 7e0cf5e

Browse files
bilkeendJunction
authored andcommitted
Add CI.
1 parent d04cf1c commit 7e0cf5e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: vtkdiff pipeline
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
env:
10+
BUILD_TYPE: Release
11+
12+
jobs:
13+
build:
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest, windows-latest, macos-latest]
17+
runs-on: ${{ matrix.os }}
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Configure CMake
22+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
23+
- name: Build
24+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
25+
# - name: Test
26+
# working-directory: ${{github.workspace}}/build
27+
# run: ctest -C ${{env.BUILD_TYPE}}
28+

0 commit comments

Comments
 (0)