Skip to content

Commit

Permalink
add gcc (#167)
Browse files Browse the repository at this point in the history
* add gcc

* add gcc

* add gcc

* add gcc

* add gcc

* add gcc

* add gcc

* add gcc

---------

Co-authored-by: cjcchen <[email protected]>
  • Loading branch information
cjcchen and cjcchen authored Jan 6, 2025
1 parent 3aa81ae commit 208d829
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ...
11 changes: 10 additions & 1 deletion .github/workflows/ut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ...

0 comments on commit 208d829

Please sign in to comment.