We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be18b99 commit e8bc024Copy full SHA for e8bc024
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,41 @@
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/action@v3.0.0
22
23
+ gcc:
24
25
+ strategy:
26
+ matrix:
27
+ cxx: [gcc, clang]
28
+ name: ${{ matrix.cxx }}
29
+ env:
30
+ CXX: ${{ matrix.cxx }}
31
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
0 commit comments