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

junchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 208d829c add gcc (#167)
208d829c is described below

commit 208d829cb85a1da7e8343f562486ba14ab634984
Author: cjcchen <[email protected]>
AuthorDate: Mon Jan 6 14:47:43 2025 +0800

    add gcc (#167)
    
    * add gcc
    
    * add gcc
    
    * add gcc
    
    * add gcc
    
    * add gcc
    
    * add gcc
    
    * add gcc
    
    * add gcc
    
    ---------
    
    Co-authored-by: cjcchen <[email protected]>
---
 .github/workflows/build.yml | 13 ++++++++++---
 .github/workflows/ut.yml    | 11 ++++++++++-
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c1d27b4c..d4cbdf80 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -34,12 +34,19 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v1
-
       - name: Mount bazel cache
         uses: actions/cache@v3
         with:
           path: "/home/runner/.cache/bazel"
           key: bazel
-
+      - name: Set up Python
+        uses: actions/setup-python@v5
+        with:
+            python-version: '3.10'
       - name: build
-        run: bazel build ...
+        shell: bash
+        env:
+            CC: gcc-11
+            CXX: g++-11
+        run: |
+          bazel build ...
diff --git a/.github/workflows/ut.yml b/.github/workflows/ut.yml
index 376bc7f8..fd40b2a1 100644
--- a/.github/workflows/ut.yml
+++ b/.github/workflows/ut.yml
@@ -39,5 +39,14 @@ jobs:
         with:
           path: "/home/runner/.cache/bazel"
           key: bazel
+      - name: Set up Python
+        uses: actions/setup-python@v5
+        with:
+            python-version: '3.10'
       - name: build
-        run: bazel test ...
+        shell: bash
+        env:
+            CC: gcc-11
+            CXX: g++-11
+        run: |
+          bazel build ...

Reply via email to