We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f367956 commit 6a2208dCopy full SHA for 6a2208d
1 file changed
.github/workflows/tests.yaml
@@ -47,6 +47,34 @@ jobs:
47
any::testthat
48
any::devtools
49
local::.
50
+
51
52
+ # --- (Windows only): ensure Rtools44 paths on PATH ---
53
+ - name: Add Rtools to PATH
54
+ if: runner.os == 'Windows'
55
+ shell: powershell
56
+ run: |
57
+ $paths = @(
58
+ 'C:\rtools44\usr\bin',
59
+ 'C:\rtools44\ucrt64\bin'
60
+ )
61
+ $paths | ForEach-Object {
62
+ if (Test-Path $_) {
63
+ echo "Adding $_ to PATH"
64
+ echo $_ >> $env:GITHUB_PATH
65
+ } else {
66
+ Write-Host "Path missing (ignore if not needed): $_"
67
+ }
68
69
70
+ - name: Verify toolchain (Windows)
71
72
73
74
+ where make
75
+ where g++
76
+ g++ --version
77
+ make --version
78
79
- name: Install CmdStan
80
shell: Rscript {0}
0 commit comments