Skip to content

Commit

Permalink
add 10.13 runners
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Aug 10, 2022
1 parent cea68cc commit 0c7b7dd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
3 changes: 3 additions & 0 deletions dev/tasks/macros.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -321,3 +321,6 @@ on:
{% set is_upstream_b = arrow.github_repo == 'apache/arrow' %}
{# use filter to cast to string and convert to lowercase to match yaml boolean #}
{% set is_fork = (not is_upstream_b)|lower %}

{% set r_release = '4.2' %}
{% set r_oldrel = '4.1' %}
22 changes: 17 additions & 5 deletions dev/tasks/r/github.macos.autobrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,34 @@ jobs:
matrix:
platform:
- macos-11
- macos-10.15
- macos-10.13 # self-hosted
r-version:
- release
- oldrel
- {{ macros.r_release }}
- {{ macros.r_oldrel }}
steps:
{{ macros.github_checkout_arrow()|indent }}
- name: Configure autobrew script
run: |
# install minio for tests
brew install minio
# minio is pre-installed on the self-hosted 10.13 runer
if [ {{ '${{ matrix.platform }}' }} != macos-10.13 ]; then
# install minio for tests
brew install minio
fi
cd arrow/r
{{ macros.pin_brew_formulae(is_fork)|indent }}
- uses: r-lib/actions/setup-r@v2
if: {{ '${{ matrix.platform }}' }} != 'macos-10.13'
with:
r-version: {{ '${{ matrix.r-version }}' }}
use-public-rspm: true
- name: Setup R
if: {{ '${{ matrix.platform }}' }} == 'macos-10.13'
run: |
# rig is a system utility that allows for switching
# between pre-installed R version on the self-hosted runners
rig default {{ '${{ matrix.platform }}' }}
rig system setup-user-lib
rig system add-pak
- uses: r-lib/actions/setup-r-dependencies@v2
with:
working-directory: 'arrow/r'
Expand Down

0 comments on commit 0c7b7dd

Please sign in to comment.