Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ build:ferrocene-coverage --@rules_rust//rust/settings:extra_exec_rustc_flag=-Cco
build:ferrocene-coverage --@rules_rust//rust/settings:extra_exec_rustc_flag=-Cdebuginfo=2
test:ferrocene-coverage --run_under=@score_tooling//coverage:llvm_profile_wrapper

# Coverage needs to have all intermediate .rlibs to be able to proceed
build:ferrocene-coverage --remote_download_all

test:unit-tests --config=linux-x86_64
test:unit-tests --build_tests_only
test:unit-tests --test_tag_filters=-manual
Expand All @@ -76,3 +79,6 @@ coverage --combined_report=lcov

# user specific overrides (like proxy settings)
try-import %workspace%/user.bazelrc

# Try import setting from home (CI setup-bazel action for caching uses this to provide proper args like --disk-cache)
try-import ~/.bazelrc
11 changes: 5 additions & 6 deletions .github/workflows/test_and_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,11 @@ jobs:

- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.18.0
# Currently disabled due to issue in testing not finding correct libraries
# with:
# bazelisk-cache: true
# disk-cache: ${{ github.workflow }}
# repository-cache: true
# cache-save: ${{ github.event_name == 'push' }}
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
cache-save: ${{ github.event_name == 'push' }}

- name: Set up Python 3
uses: actions/setup-python@v5
Expand Down
Loading