This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new d5a184ff5 ci(fix): Add PORTABLE to make sure rocksdb compiled with the 
same CPU feature set (#2976)
d5a184ff5 is described below

commit d5a184ff5245cbc4f5b11670b0c2f71fac1bf331
Author: Yisheng Gong <[email protected]>
AuthorDate: Wed Aug 30 01:56:19 2023 -0700

    ci(fix): Add PORTABLE to make sure rocksdb compiled with the same CPU 
feature set (#2976)
    
    * fix(ci) install and use cpuid_tool to print out cpu info before compiling 
rocksdb
    
    * fix(ci) enable manual trigger of rocksdb test
    
    * fix(ci): make print out cpu info a separated step
    
    * fix(ci): fix permission issue
    
    * ci(fix): fix cmake command
    
    * Raise version
    
    Signed-off-by: Xuanwo <[email protected]>
    
    ---------
    
    Signed-off-by: Xuanwo <[email protected]>
    Co-authored-by: Xuanwo <[email protected]>
---
 .github/actions/setup/action.yaml          | 4 ++--
 .github/workflows/service_test_rocksdb.yml | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/actions/setup/action.yaml 
b/.github/actions/setup/action.yaml
index cca18a285..5c5dc5dc8 100644
--- a/.github/actions/setup/action.yaml
+++ b/.github/actions/setup/action.yaml
@@ -82,7 +82,7 @@ runs:
       if: runner.os == 'Linux' && inputs.need-rocksdb == 'true'
       with:
         path: /tmp/rocksdb
-        key: r1-rocksdb-8.1.1
+        key: r2-rocksdb-8.1.1
 
     - name: Build rocksdb if not cached
       if: steps.cache-rocksdb.outputs.cache-hit != 'true' && runner.os == 
'Linux' && inputs.need-rocksdb == 'true'
@@ -96,7 +96,7 @@ runs:
         cd rocksdb-8.1.1
 
         mkdir /tmp/rocksdb
-        cmake -DCMAKE_INSTALL_PREFIX=/tmp/rocksdb
+        cmake -DCMAKE_INSTALL_PREFIX=/tmp/rocksdb -DPORTABLE=1
         make -j$(nproc)
         make install
 
diff --git a/.github/workflows/service_test_rocksdb.yml 
b/.github/workflows/service_test_rocksdb.yml
index 28e7083f5..b8b43ebee 100644
--- a/.github/workflows/service_test_rocksdb.yml
+++ b/.github/workflows/service_test_rocksdb.yml
@@ -18,6 +18,7 @@
 name: Service Test RocksDB
 
 on:
+  workflow_dispatch:
   push:
     branches:
       - main

Reply via email to