Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,33 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

# ponytail: source-build stringfish BEFORE dependency setup — packages built
# from source during install (e.g. SimDesign) load it at build time and die
# on the broken prebuilt binary (oneTBB ABI skew). Drop with the step below.
# repos= must be a real source repo: RSPM serves prebuilt Linux binaries via
# source-style URLs, so type="source" against RSPM does NOT recompile.
- name: Source-build stringfish (RcppParallel oneTBB ABI skew)
run: >-
Rscript -e 'install.packages(c("RcppParallel", "stringfish"), type = "source",
repos = "https://cloud.r-project.org")'

- uses: r-lib/actions/setup-r-dependencies@6f6e5bc62fba3a704f74e7ad7ef7676c5c6a2590 # v2
with:
extra-packages: |
any::rcmdcheck
any::testthat
needs: check

# ponytail: CRAN/RSPM binary skew — prebuilt binaries (stringfish, qs2, ...) lag
# RcppParallel's oneTBB update (undefined tbb::internal / tbb::task symbols).
# Rebuild everything LinkingTo RcppParallel from source so it links the installed
# copy. Drop once upstream binaries re-sync.
- name: Rebuild RcppParallel-linked packages from source (oneTBB ABI skew)
run: >-
Rscript -e 'r <- "https://cloud.r-project.org"; install.packages("RcppParallel", type = "source", repos = r);
bad <- tools::dependsOnPkgs("RcppParallel", dependencies = "LinkingTo");
if (length(bad)) install.packages(bad, type = "source", repos = r)'

- name: Run Zh formula regression tests
run: |
Rscript -e 'install.packages(".", repos = NULL, type = "source")'
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/test-fast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,31 @@ jobs:
with:
use-public-rspm: true

# ponytail: source-build stringfish BEFORE dependency setup — packages built
# from source during install (e.g. SimDesign) load it at build time and die
# on the broken prebuilt binary (oneTBB ABI skew). Drop with the step below.
# repos= must be a real source repo: RSPM serves prebuilt Linux binaries via
# source-style URLs, so type="source" against RSPM does NOT recompile.
- name: Source-build stringfish (RcppParallel oneTBB ABI skew)
run: >-
Rscript -e 'install.packages(c("RcppParallel", "stringfish"), type = "source",
repos = "https://cloud.r-project.org")'

- uses: r-lib/actions/setup-r-dependencies@6f6e5bc62fba3a704f74e7ad7ef7676c5c6a2590 # v2
with:
extra-packages: any::testthat
needs: check

# ponytail: CRAN/RSPM binary skew — prebuilt binaries (stringfish, qs2, ...) lag
# RcppParallel's oneTBB update (undefined tbb::internal / tbb::task symbols).
# Rebuild everything LinkingTo RcppParallel from source so it links the installed
# copy. Drop once upstream binaries re-sync.
- name: Rebuild RcppParallel-linked packages from source (oneTBB ABI skew)
run: >-
Rscript -e 'r <- "https://cloud.r-project.org"; install.packages("RcppParallel", type = "source", repos = r);
bad <- tools::dependsOnPkgs("RcppParallel", dependencies = "LinkingTo");
if (length(bad)) install.packages(bad, type = "source", repos = r)'

- name: Install kaefa package for fast tests
run: R CMD INSTALL .

Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,31 @@ jobs:
with:
use-public-rspm: true

# ponytail: source-build stringfish BEFORE dependency setup — packages built
# from source during install (e.g. SimDesign) load it at build time and die
# on the broken prebuilt binary (oneTBB ABI skew). Drop with the step below.
# repos= must be a real source repo: RSPM serves prebuilt Linux binaries via
# source-style URLs, so type="source" against RSPM does NOT recompile.
- name: Source-build stringfish (RcppParallel oneTBB ABI skew)
run: >-
Rscript -e 'install.packages(c("RcppParallel", "stringfish"), type = "source",
repos = "https://cloud.r-project.org")'

- uses: r-lib/actions/setup-r-dependencies@6f6e5bc62fba3a704f74e7ad7ef7676c5c6a2590 # v2
with:
extra-packages: any::testthat
needs: check

# ponytail: CRAN/RSPM binary skew — prebuilt binaries (stringfish, qs2, ...) lag
# RcppParallel's oneTBB update (undefined tbb::internal / tbb::task symbols).
# Rebuild everything LinkingTo RcppParallel from source so it links the installed
# copy. Drop once upstream binaries re-sync.
- name: Rebuild RcppParallel-linked packages from source (oneTBB ABI skew)
run: >-
Rscript -e 'r <- "https://cloud.r-project.org"; install.packages("RcppParallel", type = "source", repos = r);
bad <- tools::dependsOnPkgs("RcppParallel", dependencies = "LinkingTo");
if (length(bad)) install.packages(bad, type = "source", repos = r)'

- name: Install kaefa package
run: R CMD INSTALL .

Expand Down
Loading