]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/s3select/.github/workflows/cmake.yml
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / s3select / .github / workflows / cmake.yml
index 9a33ad9c3031a4dc4c3cfba4a6e8a17be2be4236..577eb19cc585bb5e8ea7b48c285e594135d80531 100644 (file)
@@ -16,9 +16,13 @@ jobs:
 
     steps:
     - uses: actions/checkout@v2
+    - name: Checkout submodules
+      run: git submodule update --init --recursive
 
     - name: install-boost
-      run: sudo apt-get install -y libboost-all-dev
+      run: |
+          sudo apt-get update
+          sudo apt-get install -y libboost-all-dev
 
     - name: fetch-gtest
       run: sudo apt-get install -y libgtest-dev
@@ -39,6 +43,9 @@ jobs:
     - name: install-gtest
       run: cd /usr/src/gtest && sudo cmake . && sudo make && sudo cp lib/*.a /usr/lib || sudo cp *.a /usr/lib
 
+    - name: install-gperftools
+      run: sudo apt-get install -y libgoogle-perftools-dev
+
     - name: Create Build Environment
       # Some projects don't allow in-source building, so create a separate build directory
       # We'll use this as our working directory for all subsequent commands
@@ -65,5 +72,5 @@ jobs:
       shell: bash
       # Execute tests defined by the CMake configuration.  
       # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
-      run: ctest -C $BUILD_TYPE
+      run: ctest --rerun-failed --output-on-failure -C $BUILD_TYPE