Skip to content

Commit

Permalink
Split install for MacOS/Linux into different steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgautier committed Jan 15, 2024
1 parent cc00f54 commit f84263d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ jobs:
Sys.setenv("NOT_CRAN" = "true")
install.packages("arrow")
shell: Rscript {0}
- name: Install R dependency "polars"
- name: Install R dependency "polars" (MacOS)
if: startsWith(matrix.os, 'MacOS')
run: |
if (Sys.info()["sysname"] == "Darwin") {
install.packages("polars", repos = "https://rpolars.r-universe.dev")
} else {
install.packages("polars", repos = "https://rpolars.r-universe.dev/bin/linux/jammy/4.3")
}
install.packages("polars", repos = "https://rpolars.r-universe.dev")
shell: Rscript {0}
- name: Install R dependency "polars" (Linux)
if: startsWith(matrix.os, 'ubuntu')
run: |
install.packages("polars", repos = "https://rpolars.r-universe.dev/bin/linux/jammy/4.3")
shell: Rscript {0}
- name: Install dependencies
run: |
Expand Down

0 comments on commit f84263d

Please sign in to comment.