We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b22b83 commit 2bb82c1Copy full SHA for 2bb82c1
.github/workflows/unit-tests.yml
@@ -21,8 +21,25 @@ jobs:
21
with:
22
go-version: '1.23'
23
24
+ - name: Cache RocksDB
25
+ id: cache-rocksdb
26
+ uses: actions/cache@v3
27
+ with:
28
+ path: /tmp/rocksdb
29
+ key: rocksdb-portable-10.5.1
30
+
31
+ - name: Build RocksDB
32
+ if: steps.cache-rocksdb.outputs.cache-hit != 'true'
33
+ run: |
34
+ cd /tmp
35
+ git clone --depth 1 --branch v10.5.1 https://github.com/facebook/rocksdb.git
36
+ cd rocksdb
37
+ PORTABLE=1 make static_lib -j$(nproc)
38
39
- name: Install RocksDB
- run: sudo apt-get update && sudo apt-get install -y librocksdb-dev
40
41
+ cd /tmp/rocksdb
42
+ sudo make install-static
43
44
- name: Build
45
run: CGO_ENABLED=1 go build -v ./...
0 commit comments