Skip to content

Commit

Permalink
Move sandbox_tmpfs to .bazelrc.
Browse files Browse the repository at this point in the history
  • Loading branch information
brettchabot committed Sep 9, 2023
1 parent db0df42 commit f131221
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ build --javacopt=-g
build --host_javacopt=-g

build --experimental_google_legacy_api
build --enable_platform_specific_config
build:linux --sandbox_tmpfs_path=/tmp
test --enable_platform_specific_config
test:linux --sandbox_tmpfs_path=/tmp
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ env.cache-version }}-bazel-build-
- name: Build maven artifacts
run: bazelisk build --sandbox_tmpfs_path=/tmp //:axt_m2repository
run: bazelisk build //:axt_m2repository
shell: bash
- name: cp to upload dir
run: |
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
restore-keys: |
${{ runner.os }}-${{ env.cache-version }}-bazel-test-
- name: Run Robolectric tests
run: bazelisk test --sandbox_tmpfs_path=/tmp --test_tag_filters=robolectric --build_tag_filters=robolectric --test_output=all ...
run: bazelisk test --test_tag_filters=robolectric --build_tag_filters=robolectric --test_output=all ...
shell: bash
- name: 'Clean bazel cache'
# Don't cache the bazel/external directory, since it can be > 2GB
Expand Down

0 comments on commit f131221

Please sign in to comment.