Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bnaras committed Feb 3, 2025
1 parent 6cae815 commit 0162df3
Showing 1 changed file with 54 additions and 24 deletions.
78 changes: 54 additions & 24 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,31 +26,61 @@ jobs:
fail-fast: false
matrix:
config:
# On Windows,
#
# * for R >= 4.2, both the MSVC toolchain and the GNU toolchain should
# work. Since our main support is on MSVC, we mainly test MSVC here.
# Also, at least one GNU case should be included so that we can
# detect when something gets broken.
# * for R < 4.2, the MSVC toolchain must be used to support
# cross-compilation for the 32-bit.
- {os: windows-latest, r: 'release', rust-version: 'stable-msvc', rtools-version: '43'}
- {os: windows-latest, r: 'devel', rust-version: 'stable-msvc'}
- {os: windows-latest, r: 'release', rust-version: 'stable-gnu', rtools-version: '43'}
# - {os: windows-latest, r: '4.1', rust-version: 'stable-msvc'} # TODO: Remove this runner when we drop the support for R < 4.2

- {os: macOS-latest, r: 'release', rust-version: 'stable'}
# - {os: macOS-latest, r: 'release', rust-version: 'nightly'}
- {os: macOS-latest, r: 'devel', rust-version: 'stable'}
# - {os: macOS-latest, r: 'oldrel', rust-version: 'stable'}

- {os: ubuntu-latest, r: 'release', rust-version: 'stable', check_fmt: true}
# - {os: ubuntu-latest, r: 'release', rust-version: 'nightly'}
- {
os: windows-latest,
r: "release",
rust-version: "stable-msvc",
rtools-version: "44",
features: "full-functionality",
}
- {
os: windows-latest,
r: "devel",
rust-version: "stable-msvc",
rtools-version: "44",
features: "default",
}
- {
os: windows-latest,
r: "oldrel",
rust-version: "stable-msvc",
rtools-version: "43",
features: "default",
}

- {
os: macOS-latest,
r: "release",
rust-version: "stable",
features: "full-functionality",
}
- {
os: ubuntu-latest,
r: "release",
rust-version: "stable",
features: "full-functionality",
check_fmt: true,
}
- {
os: ubuntu-latest,
r: "release",
rust-version: "nightly",
features: "full-functionality",
extra-args: ["-Zdoctest-xcompile"],
}
# R-devel requires LD_LIBRARY_PATH
- {os: ubuntu-latest, r: 'devel', rust-version: 'stable'}
# - {os: ubuntu-latest, r: 'oldrel', rust-version: 'stable'}


- {
os: ubuntu-latest,
r: "devel",
rust-version: "stable",
features: "default",
}
- {
os: ubuntu-latest,
r: "oldrel",
rust-version: "stable",
features: "default",
}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
Expand Down

0 comments on commit 0162df3

Please sign in to comment.