File tree 2 files changed +45
-5
lines changed
2 files changed +45
-5
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
tests :
11
- name : Test Compile ${{ matrix.compiler }}
11
+ name : Test Compile clang
12
12
runs-on : ubuntu-latest
13
13
env :
14
- CC : ${{ matrix.compiler }}
14
+ CC : clang
15
15
16
- strategy :
17
- matrix :
18
- compiler : [clang, gcc]
16
+ steps :
17
+ - uses : actions/checkout@v2.4.0
18
+
19
+ - name : Install H3
20
+ run : |
21
+ cd /tmp
22
+ git clone https://github.com/uber/h3
23
+ cd h3
24
+ mkdir build
25
+ cd build
26
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-fPIC -DBUILD_BENCHMARKS=OFF -DBUILD_FILTERS=OFF -DBUILD_GENERATORS=OFF -DBUILD_TESTING=OFF -DENABLE_DOCS=OFF -DBUILD_FUZZERS=OFF ..
27
+ make
28
+ sudo make install
29
+
30
+ - name : Install Doxygen, clang-format
31
+ run : |
32
+ sudo apt update
33
+ sudo apt-get install doxygen graphviz clang-format-9
34
+
35
+ - name : Configure build
36
+ run : cmake -Bbuild -DBUILD_SHARED_LIBS=ON -DWARNINGS_AS_ERRORS=ON .
37
+
38
+ - name : Formatting check
39
+ working-directory : build
40
+ run : |
41
+ clang-format-9 --version
42
+ make format
43
+ git diff --exit-code
44
+
45
+ - name : Build
46
+ working-directory : build
47
+ run : make
48
+
49
+ - name : Tests
50
+ working-directory : build
51
+ run : make test
52
+
53
+ tests :
54
+ name : Test Compile gcc
55
+ runs-on : ubuntu-latest
56
+ env :
57
+ CC : gcc
19
58
20
59
steps :
21
60
- uses : actions/checkout@v2.4.0
Original file line number Diff line number Diff line change 1
1
# h3-sqlite3
2
2
3
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/isaacbrodsky/h3-sqlite3/badge.svg?branch=master )] ( https://coveralls.io/github/isaacbrodsky/h3-sqlite3?branch=master )
3
4
[ ![ test-linux] ( https://github.com/isaacbrodsky/h3-sqlite3/workflows/test-linux/badge.svg )] ( https://github.com/isaacbrodsky/h3-sqlite3/actions )
4
5
[ ![ License] ( https://img.shields.io/badge/License-Apache%202.0-blue.svg )] ( LICENSE )
5
6
You can’t perform that action at this time.
0 commit comments