Skip to content

Commit e38ca22

Browse files
committed
Add actions (#16)
1 parent b4b1449 commit e38ca22

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

.github/workflows/macos.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: macOS
2+
3+
on: [push]
4+
5+
jobs:
6+
build-test:
7+
8+
runs-on: macos-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: install-build-dependencies
13+
run: brew install eigen
14+
- name: submodule
15+
run: git submodule update --init --recursive
16+
- name: cmake
17+
run: cmake . -DCOLORUTIL_BUILD_TESTS=ON
18+
- name: make
19+
run: make
20+
- name: ctest
21+
run: ctest

.github/workflows/ubuntu.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Ubuntu
2+
3+
on: [push]
4+
5+
jobs:
6+
build-test:
7+
8+
runs-on: ${{ matrix.os }}
9+
10+
strategy:
11+
matrix:
12+
os: [ubuntu-16.04, ubuntu-18.04]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: install-build-dependencies
17+
run: sudo apt-get install libeigen3-dev
18+
- name: submodule
19+
run: git submodule update --init --recursive
20+
- name: cmake
21+
run: cmake . -DCOLORUTIL_BUILD_TESTS=ON
22+
- name: make
23+
run: make
24+
- name: ctest
25+
run: ctest

0 commit comments

Comments
 (0)