forked from yuki-koyama/elasty
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 852 Bytes
/
ubuntu.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
name: Ubuntu
on: [push]
jobs:
build-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v1
- name: install-openexr-v2.3.0
run: |
curl -L https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.0.2.tar.gz | tar -xvz
mkdir build-imath
cd build-imath
cmake ../Imath-3.0.2 -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF
make
sudo make install
- name: install-other-build-dependencies
run: sudo apt-get -y install libeigen3-dev libglu1-mesa-dev xorg-dev
- name: submodule
run: git submodule update --init --recursive
- name: cmake
run: |
cmake . -DELASTY_EXAMPLES=ON -DELASTY_TESTS=ON
- name: make
run: make
- name: ctest
run: ctest --verbose