Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
py_ver: ['3.7', '3.8', '3.9']
py_ver: ['3.7', '3.8', '3.9', '3.10']
rocksdb_ver: ['v6.29.3', 'v6.25.3', 'v6.11.4']

steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ jobs:
yum install -y bzip2-devel lz4-devel snappy-devel zlib-devel
python3-Cython && (
test -d ${{ env.LIBROCKSDB_PATH }} || (
git clone https://github.com/facebook/rocksdb --depth 1
--branch ${{ matrix.rocksdb_ver }} ${{ env.LIBROCKSDB_PATH }} &&
git clone https://github.com/facebook/rocksdb --depth 1 --branch ${{ matrix.rocksdb_ver }} ${{ env.LIBROCKSDB_PATH }} &&
cd ${{ env.LIBROCKSDB_PATH }} &&
CXXFLAGS='-flto -Os -s' PORTABLE=1 make shared_lib -j 4
)) &&
Expand All @@ -76,13 +75,14 @@ jobs:
- uses: actions/checkout@v2
name: 'Checkout source repository'

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
name: 'Set up Python 3.9'
with:
python-version: '3.9'

- name: 'Build sdist'
run: |
run: >
pip3 install pkgconfig cython --upgrade &&
python3 setup.py sdist

- uses: actions/upload-artifact@v2
Expand Down