Skip to content

Commit

Permalink
apacheGH-14849: [CI] R install-local builds sometimes fail because sc…
Browse files Browse the repository at this point in the history
…cache times out (apache#14850)

Explicitly starting the sccache server prior to the compilation has removed the flakiness in my testing. 
* Closes: apache#14849

Authored-by: Jacob Wujciak-Jens <[email protected]>
Signed-off-by: Nic Crane <[email protected]>
  • Loading branch information
assignUser authored Dec 11, 2022
1 parent b4913df commit ffd4972
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev/tasks/r/github.macos-linux.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
>> "$GITHUB_ENV"
if: contains(matrix.os, 'ubuntu')
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Install dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
Expand All @@ -69,6 +71,7 @@ jobs:
ARROW_R_DEV: TRUE
{{ macros.github_set_sccache_envvars()|indent(8)}}
run: |
sccache --start-server
cd arrow/r
R CMD INSTALL . --install-tests
- name: Run the tests
Expand Down

0 comments on commit ffd4972

Please sign in to comment.