mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
17bfd760c4
ci: check support for building kava binary with rocksdb
23 lines
599 B
YAML
23 lines
599 B
YAML
name: Continuous Integration (Rocksdb Build)
|
|
|
|
on:
|
|
workflow_call:
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout repo from current commit
|
|
uses: actions/checkout@v3
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: "1.20"
|
|
check-latest: true
|
|
cache: true
|
|
- name: build rocksdb dependency
|
|
run: bash ${GITHUB_WORKSPACE}/.github/scripts/install-rocksdb.sh
|
|
env:
|
|
ROCKSDB_VERSION: v7.10.2
|
|
- name: build application
|
|
run: make build COSMOS_BUILD_OPTIONS=rocksdb
|