File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches : [master, stable-*]
88
99jobs :
10- tests :
11- name : Test Compile ${{ matrix.compiler }}
10+ test-clang :
11+ name : Test Compile clang
1212 runs-on : ubuntu-latest
1313 env :
14- CC : ${{ matrix.compiler }}
14+ CC : clang
1515
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+ coverage-gcc :
54+ name : Test Compile gcc
55+ runs-on : ubuntu-latest
56+ env :
57+ CC : gcc
1958
2059 steps :
2160 - uses : actions/checkout@v2.4.0
Original file line number Diff line number Diff line change 11# h3-sqlite3
22
3+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/isaacbrodsky/h3-sqlite3/badge.svg?branch=master )] ( https://coveralls.io/github/isaacbrodsky/h3-sqlite3?branch=master )
34[ ![ test-linux] ( https://github.com/isaacbrodsky/h3-sqlite3/workflows/test-linux/badge.svg )] ( https://github.com/isaacbrodsky/h3-sqlite3/actions )
45[ ![ License] ( https://img.shields.io/badge/License-Apache%202.0-blue.svg )] ( LICENSE )
56
You can’t perform that action at this time.
0 commit comments