File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " CI"
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ pull_request :
9
+
10
+ jobs :
11
+ checks :
12
+ runs-on : ' ubuntu-latest'
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ - uses : actions/setup-python@v4
16
+ with :
17
+ python-version : ' 3.12'
18
+ cache : ' pip'
19
+ - run : pip install -r requirements.txt
20
+ - name : Checks
21
+ uses :
pre-commit/[email protected]
22
+
23
+ gcc :
24
+ runs-on : ' ubuntu-latest'
25
+ strategy :
26
+ matrix :
27
+ cxx : [gcc, clang]
28
+ name : ${{ matrix.cxx }}
29
+ env :
30
+ CXX : ${{ matrix.cxx }}
31
+ steps :
32
+ - uses : actions/checkout@v4
33
+ - name : CMake
34
+ run : |
35
+ sudo apt-get update
36
+ sudo apt-get install libhdf5-dev g++-12
37
+ cmake -B build
38
+ - name : Build
39
+ run : VERBOSE=true make -C build -j `nproc`
40
+ - name : Test
41
+ run : ./build/test/gtest/binsparse-tests
You can’t perform that action at this time.
0 commit comments