try to fix ci
This commit is contained in:
parent
6a7eaa2fa0
commit
a04f0bb74b
1 changed files with 4 additions and 1 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue