diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 12ba9fc..87f57d4 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -22,16 +22,18 @@ jobs: fail-fast: false matrix: config: - - {runner: macOS-13, r_version: release, os: macOS} + - {runner: macOS-15-intel, 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: 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-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-2022, 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.29 id: cuda-toolkit with: cuda: '${{matrix.config.cuda}}.${{matrix.config.cuda_patch}}' @@ -117,10 +119,10 @@ 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-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 }} 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