From 4b0978d2e6b7532f0ed9c0203dc8bdfe466f1778 Mon Sep 17 00:00:00 2001 From: "C. Regouby" Date: Mon, 20 Oct 2025 12:36:01 +0200 Subject: [PATCH 1/5] update ubuntu and cuda --- .github/workflows/R-CMD-check.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 12ba9fc..ea9cb8e 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -26,12 +26,14 @@ jobs: - {runner: [self-hosted, m1], r_version: '', os: macOS} - {runner: windows-2019, r_version: release, os: windows} - {runner: ubuntu-latest, r_version: release, os: ubuntu} - - {runner: [self-hosted, linux], r_version: release, os: ubuntu, cuda: 11.8, cuda_patch: 0} - - {runner: windows-2019, r_version: release, os: windows, cuda: 11.8, cuda_patch: 0} + - {runner: [self-hosted, linux], r_version: release, os: ubuntu, cuda: 12.6, cuda_patch: 3} + - {runner: windows-2019, r_version: release, os: windows, cuda: 12.6, cuda_patch: 3} + - {runner: [self-hosted, linux], r_version: release, os: ubuntu, cuda: 12.8, cuda_patch: 1} + - {runner: windows-2019, r_version: release, os: windows, cuda: 12.8, cuda_patch: 1} include: - config: {os: ubuntu} - container: ubuntu:20.04 + container: ubuntu:22.04 env: TORCH_INSTALL: 1 @@ -63,7 +65,7 @@ jobs: cmake-version: '3.31' - if: ${{matrix.config.cuda != ''}} - uses: Jimver/cuda-toolkit@v0.2.21 + uses: Jimver/cuda-toolkit@v0.2.24 id: cuda-toolkit with: cuda: '${{matrix.config.cuda}}.${{matrix.config.cuda_patch}}' @@ -120,7 +122,7 @@ jobs: - {os: mac, runner: macOS-13, r: 'release', artifact: '+cpu+x86_64-Darwin.zip'} - {os: m1mac, runner: ['self-hosted', 'm1'], artifact: '+cpu+arm64-Darwin.zip'} - {os: windows, runner: windows-latest, r: 'release', rtools: '42', artifact: '+cpu-win64.zip'} - - {os: ubuntu, runner: ubuntu-20.04, r: 'release', artifact: '+cpu-Linux.zip'} + - {os: ubuntu, runner: ubuntu-22.04, r: 'release', artifact: '+cpu-Linux.zip'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} From 456b00bc71a3c70074290b3d784fdb323391106a Mon Sep 17 00:00:00 2001 From: "C. Regouby" Date: Mon, 20 Oct 2025 12:50:41 +0200 Subject: [PATCH 2/5] fix macOS and windows runner obsolescence --- .github/workflows/R-CMD-check.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index ea9cb8e..6045f40 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -22,14 +22,14 @@ jobs: fail-fast: false matrix: config: - - {runner: macOS-13, r_version: release, os: macOS} + - {runner: macOS-15, r_version: release, os: macOS} - {runner: [self-hosted, m1], r_version: '', os: macOS} - - {runner: windows-2019, r_version: release, os: windows} + - {runner: windows-2022, r_version: release, os: windows} - {runner: ubuntu-latest, r_version: release, os: ubuntu} - {runner: [self-hosted, linux], r_version: release, os: ubuntu, cuda: 12.6, cuda_patch: 3} - - {runner: windows-2019, r_version: release, os: windows, cuda: 12.6, cuda_patch: 3} + - {runner: windows-2022, r_version: release, os: windows, cuda: 12.6, cuda_patch: 3} - {runner: [self-hosted, linux], r_version: release, os: ubuntu, cuda: 12.8, cuda_patch: 1} - - {runner: windows-2019, r_version: release, os: windows, cuda: 12.8, cuda_patch: 1} + - {runner: windows-2022, r_version: release, os: windows, cuda: 12.8, cuda_patch: 1} include: - config: {os: ubuntu} @@ -119,7 +119,7 @@ jobs: fail-fast: false matrix: config: - - {os: mac, runner: macOS-13, r: 'release', artifact: '+cpu+x86_64-Darwin.zip'} + - {os: mac, runner: macOS-15-intel, r: 'release', artifact: '+cpu+x86_64-Darwin.zip'} - {os: m1mac, runner: ['self-hosted', 'm1'], artifact: '+cpu+arm64-Darwin.zip'} - {os: windows, runner: windows-latest, r: 'release', rtools: '42', artifact: '+cpu-win64.zip'} - {os: ubuntu, runner: ubuntu-22.04, r: 'release', artifact: '+cpu-Linux.zip'} From a4c1fe115820d33d7ff9cadaaa595645601882f9 Mon Sep 17 00:00:00 2001 From: "C. Regouby" Date: Mon, 20 Oct 2025 13:59:44 +0200 Subject: [PATCH 3/5] mac intel --- .github/workflows/R-CMD-check.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 6045f40..401ac5e 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: config: - - {runner: macOS-15, r_version: release, os: macOS} + - {runner: macOS-15-intel, r_version: release, os: macOS} - {runner: [self-hosted, m1], r_version: '', os: macOS} - {runner: windows-2022, r_version: release, os: windows} - {runner: ubuntu-latest, r_version: release, os: ubuntu} From b71ee4ab9d0eea3bfb2de2f073d176aa74e1f3c1 Mon Sep 17 00:00:00 2001 From: Christophe REGOUBY Date: Mon, 3 Nov 2025 16:52:50 +0100 Subject: [PATCH 4/5] bump cuda-toolkit loader --- .github/workflows/R-CMD-check.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 401ac5e..87f57d4 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -65,7 +65,7 @@ jobs: cmake-version: '3.31' - if: ${{matrix.config.cuda != ''}} - uses: Jimver/cuda-toolkit@v0.2.24 + uses: Jimver/cuda-toolkit@v0.2.29 id: cuda-toolkit with: cuda: '${{matrix.config.cuda}}.${{matrix.config.cuda_patch}}' From e05e5c94888cec2c211fce2b1eb794dfe844dc1d Mon Sep 17 00:00:00 2001 From: Christophe REGOUBY Date: Wed, 5 Nov 2025 15:29:22 +0100 Subject: [PATCH 5/5] add cli to workaround cli_about not found --- DESCRIPTION | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 9ace0cd..bc8fd3c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -24,7 +24,8 @@ Imports: glue, withr Suggests: - testthat (>= 3.0.0) + testthat (>= 3.0.0), + cli Config/testthat/edition: 3 URL: https://github.com/mlverse/torchvisionlib BugReports: https://github.com/mlverse/torchvisionlib/issues