File tree Expand file tree Collapse file tree 3 files changed +39
-57
lines changed Expand file tree Collapse file tree 3 files changed +39
-57
lines changed Original file line number Diff line number Diff line change
1
+ name : Run tests
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Install cmake
14
+ run : mkdir -p deps/cmake && wget --no-check-certificate --quiet -O - "https://github.com/Kitware/CMake/releases/download/v3.21.3/cmake-3.21.3-linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C deps/cmake && export PATH=deps/cmake/bin:${PATH}
15
+
16
+ - name : Install Eigen
17
+ run : sudo apt-get install -y libeigen3-dev
18
+
19
+ - name : Checkout commit
20
+ uses : actions/checkout@v3
21
+ with :
22
+ lfs : true
23
+
24
+ - name : Checkout LFS objects
25
+ run : git lfs checkout
26
+
27
+ - name : Configure
28
+ run : |
29
+ cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install
30
+
31
+ - name : Build
32
+ run : |
33
+ cd build && cmake --build . --target install
34
+
35
+ - name : Test
36
+ run : |
37
+ cd build && ctest -C Debug --output-on-failure --verbose
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Voxel Traversal
2
2
3
- [ ![ Build Status] ( https://app.travis-ci.com/risteon/voxel-traversal.svg?branch=main )] ( https://app.travis-ci.com/risteon/voxel-traversal )
3
+ [ ![ Build Status] ( https://github.com/risteon/voxel-traversal/actions/workflows/test.yml/badge.svg )] ( https://github.com/risteon/voxel-traversal/actions/workflows/test.yml )
4
+ [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
4
5
5
6
A small library to compute voxel traversal on the CPU.
6
7
The implemented algorithm is J. Amanatides, A. Woo:
You can’t perform that action at this time.
0 commit comments