diff --git a/.github/workflows/pr-jobs.yml b/.github/workflows/pr-jobs.yml index eaab8e6d732..627b4dfc030 100644 --- a/.github/workflows/pr-jobs.yml +++ b/.github/workflows/pr-jobs.yml @@ -90,6 +90,9 @@ jobs: container: image: zjay437/rocksdb:0.6 options: --shm-size=16gb + env: + CC: gcc-10 + CXX: g++-10 steps: - uses: actions/checkout@v4.1.0 - uses: "./.github/actions/pre-steps" @@ -104,38 +107,47 @@ jobs: container: image: zjay437/rocksdb:0.6 options: --shm-size=16gb + env: + CC: gcc-10 + CXX: g++-10 steps: - uses: actions/checkout@v4.1.0 - uses: "./.github/actions/pre-steps" - uses: "./.github/actions/setup-folly" - run: "(mkdir build && cd build && cmake -DUSE_FOLLY_LITE=1 -DWITH_GFLAGS=1 .. && make V=1 -j20)" - uses: "./.github/actions/post-steps" - build-linux-gcc-7-with-folly: + build-linux-make-with-folly: if: ${{ github.repository_owner == 'facebook' }} runs-on: labels: 16-core-ubuntu container: image: zjay437/rocksdb:0.6 options: --shm-size=16gb + env: + CC: gcc-10 + CXX: g++-10 steps: - uses: actions/checkout@v4.1.0 - uses: "./.github/actions/pre-steps" - uses: "./.github/actions/setup-folly" - uses: "./.github/actions/build-folly" - - run: USE_FOLLY=1 LIB_MODE=static CC=gcc-7 CXX=g++-7 V=1 make -j32 check + - run: USE_FOLLY=1 LIB_MODE=static V=1 make -j32 check - uses: "./.github/actions/post-steps" - build-linux-gcc-7-with-folly-lite-no-test: + build-linux-make-with-folly-lite-no-test: if: ${{ github.repository_owner == 'facebook' }} runs-on: labels: 16-core-ubuntu container: image: zjay437/rocksdb:0.6 options: --shm-size=16gb + env: + CC: gcc-10 + CXX: g++-10 steps: - uses: actions/checkout@v4.1.0 - uses: "./.github/actions/pre-steps" - uses: "./.github/actions/setup-folly" - - run: USE_FOLLY_LITE=1 CC=gcc-7 CXX=g++-7 V=1 make -j32 all + - run: USE_FOLLY_LITE=1 V=1 make -j32 all - uses: "./.github/actions/post-steps" build-linux-cmake-with-folly-coroutines: if: ${{ github.repository_owner == 'facebook' }}