diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1d27b4cf..d4cbdf802 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 376bc7f85..fd40b2a19 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 ...