diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6fbee1a..ae9c6fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: diff --git a/.github/workflows/dist.yml b/.github/workflows/dist.yml index d7df1fe..3354a50 100644 --- a/.github/workflows/dist.yml +++ b/.github/workflows/dist.yml @@ -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 )) && @@ -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