try to fix ci

This commit is contained in:
Jack Robison 2021-11-09 19:34:00 -05:00
parent 6a7eaa2fa0
commit a04f0bb74b
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -6,6 +6,7 @@ on:
push: push:
branches: branches:
- master - master
- iterator-api
jobs: jobs:
manylinux: manylinux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -14,6 +15,7 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: Cache .a files - name: Cache .a files
id: build-cache
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
key: ${{ runner.os }} key: ${{ runner.os }}
@ -25,8 +27,9 @@ jobs:
src/rocksdb/libz.a src/rocksdb/libz.a
src/rocksdb/librocksdb.a src/rocksdb/librocksdb.a
- name: Install requirements - name: Install requirements
run: sudo apt-get install build-essential binutils cmake run: sudo apt-get install build-essential binutils cmake python3-cffi
- name: Make static library files - name: Make static library files
if: steps.build-cache.outputs.cache-hit != 'true'
run: make clean && make run: make clean && make
- name: Build wheels - name: Build wheels
run: /bin/bash scripts/build.sh run: /bin/bash scripts/build.sh