File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 22name : ' Build'
33
44on :
5+ pull_request :
56 push :
7+ branches :
8+ - main
69
710jobs :
811 # Build the RocksDB C library and cache the result.
Original file line number Diff line number Diff line change 1+ name : debian
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+ - workflows/debian # For debugging.
9+
10+ jobs :
11+ debian-build :
12+ name : ${{ matrix.dist }}
13+ runs-on : ubuntu-latest
14+ container : debian:${{ matrix.dist }}-slim
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ dist : [bullseye, bookworm]
19+ steps :
20+ - uses : actions/checkout@v2
21+
22+ - name : Install build-dependencies
23+ # TODO(dato): find out why setup.py links to compression libraries
24+ # by hand (and hence their development packages needed here).
25+ run : |
26+ apt-get update
27+ apt-get install --no-install-recommends -y \
28+ build-essential librocksdb-dev cython3 \
29+ python3-dev python3-pip python3-pytest \
30+ libsnappy-dev libbz2-dev liblz4-dev libz-dev
31+
32+ - name : Symlink pytest
33+ run : |
34+ ln -s /usr/bin/pytest-3 /usr/local/bin/pytest
35+
36+ - name : Build pyrocksdb
37+ run : |
38+ python3 -m pip install '.[test]'
39+
40+ - name : Run tests
41+ run : |
42+ pytest --pyargs rocksdb
You can’t perform that action at this time.
0 commit comments