Skip to content

Commit d000478

Browse files
committed
edit GHA to enable macOS tests by installing curl from source; similar to visiumStitched
1 parent 0474fc7 commit d000478

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/check-bioc.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
matrix:
5454
config:
5555
- { os: ubuntu-latest, r: '4.4', bioc: '3.20', cont: "bioconductor/bioconductor_docker:RELEASE_3_20", rspm: "https://packagemanager.rstudio.com/cran/__linux__/jammy/latest" }
56-
# - { os: macOS-latest, r: '4.4', bioc: '3.20'}
56+
- { os: macOS-latest, r: '4.4', bioc: '3.20'}
5757
- { os: windows-latest, r: '4.4', bioc: '3.20'}
5858
## Check https://github.com/r-lib/actions/tree/master/examples
5959
## for examples using the http-user-agent
@@ -143,6 +143,17 @@ jobs:
143143
## Required for tcltk
144144
brew install xquartz --cask
145145
146+
## Latest curl
147+
brew install curl pkg-config
148+
149+
- name: Install macOS curl from source
150+
if: matrix.config.os == 'macOS-latest'
151+
run: |
152+
message(paste('****', Sys.time(), 'installing curl from source ****'))
153+
Sys.setenv(PKG_CONFIG_PATH="/opt/homebrew/opt/curl/lib/pkgconfig:/usr/local/opt/curl/lib/pkgconfig")
154+
install.packages("curl", type = "source")
155+
shell: Rscript {0}
156+
146157
- name: Install Windows system dependencies
147158
if: runner.os == 'Windows'
148159
run: |

0 commit comments

Comments
 (0)