-
Notifications
You must be signed in to change notification settings - Fork 21
52 lines (48 loc) · 1.23 KB
/
ci_cgogn3.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: 'Continuous Integration CGoGN_3'
on:
pull_request:
branches:
- develop
jobs:
build-linux:
name: 'On Linux'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: 'Package installations'
shell: bash
run: |
sudo apt update
sudo apt install libeigen3-dev libglfw3-dev
- name: 'Trying to compile cgogn_3'
run: |
mkdir Build
cd Build
cmake ..
cmake --build .
build-windows:
name: 'On Windows'
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: 'install deps'
run: vcpkg install eigen3:x64-windows glfw3:x64-windows
- name: 'Trying to compile cgogn_3'
run: |
mkdir Build
cd Build
cmake .. "-DCMAKE_TOOLCHAIN_FILE=$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake"
cmake --build .
build-OsX:
name: 'On Mac'
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: 'install deps'
run: brew install eigen glfw
- name: 'Trying to compile cgogn_3'
run: |
mkdir Build
cd Build
cmake ..
cmake --build .