|
26 | 26 | strategy: |
27 | 27 | fail-fast: false |
28 | 28 | matrix: |
29 | | - os: [windows-11-arm, ubuntu-24.04-arm] |
| 29 | + os: [windows-11-arm, windows-latest, ubuntu-24.04-arm] |
30 | 30 | config: [ |
31 | 31 | { label: misc, tests: 'test/unit/*_test.cpp test/unit/math/*_test.cpp test/unit/math/memory' }, |
32 | 32 | { label: prim, tests: 'test/unit/math/prim' }, |
|
44 | 44 | - name: Download and install Rtools45 |
45 | 45 | if: runner.os == 'Windows' |
46 | 46 | run: | |
47 | | - Invoke-WebRequest -Uri https://github.com/r-hub/rtools45/releases/download/latest/rtools45-aarch64.exe -OutFile rtools45-aarch64.exe |
48 | | - Start-Process -FilePath rtools45-aarch64.exe -ArgumentList "/install /norestart /verysilent /SUPPRESSMSGBOXES" -NoNewWindow -Wait |
49 | | - echo "C:/rtools45-aarch64/usr/bin;C:/rtools45-aarch64/aarch64-w64-mingw32.static.posix/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 |
| 47 | + $ARCH = if (${{ matrix.os }} == 'windows-11-arm') { 'aarch64' } else { 'x86_64' } |
| 48 | + $RTOOLS = if (${{ matrix.os }} == 'windows-11-arm') { 'rtools45-$ARCH' } else { 'rtools45' } |
| 49 | + Invoke-WebRequest -Uri https://github.com/r-hub/rtools45/releases/download/latest/$RTOOLS.exe -OutFile $RTOOLS.exe |
| 50 | + Start-Process -FilePath $RTOOLS.exe -ArgumentList "/install /norestart /verysilent /SUPPRESSMSGBOXES" -NoNewWindow -Wait |
| 51 | + echo "C:/$RTOOLS/usr/bin;C:/$RTOOLS/$ARCH-w64-mingw32.static.posix/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 |
50 | 52 |
|
51 | 53 | - name: Build Math libs |
52 | 54 | shell: pwsh |
|
78 | 80 | strategy: |
79 | 81 | fail-fast: false |
80 | 82 | matrix: |
81 | | - os: [windows-11-arm, ubuntu-24.04-arm] |
| 83 | + os: [windows-11-arm, windows-latest, ubuntu-24.04-arm] |
82 | 84 | group: [1, 2, 3, 4, 5] |
83 | 85 |
|
84 | 86 | steps: |
|
90 | 92 | - name: Download and install Rtools45 |
91 | 93 | if: runner.os == 'Windows' |
92 | 94 | run: | |
93 | | - Invoke-WebRequest -Uri https://github.com/r-hub/rtools45/releases/download/latest/rtools45-aarch64.exe -OutFile rtools45-aarch64.exe |
94 | | - Start-Process -FilePath rtools45-aarch64.exe -ArgumentList "/install /norestart /verysilent /SUPPRESSMSGBOXES" -NoNewWindow -Wait |
95 | | - echo "C:/rtools45-aarch64/usr/bin;C:/rtools45-aarch64/aarch64-w64-mingw32.static.posix/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 |
| 95 | + $ARCH = if (${{ matrix.os }} == 'windows-11-arm') { 'aarch64' } else { 'x86_64' } |
| 96 | + $RTOOLS = if (${{ matrix.os }} == 'windows-11-arm') { 'rtools45-$ARCH' } else { 'rtools45' } |
| 97 | + Invoke-WebRequest -Uri https://github.com/r-hub/rtools45/releases/download/latest/$RTOOLS.exe -OutFile $RTOOLS.exe |
| 98 | + Start-Process -FilePath $RTOOLS.exe -ArgumentList "/install /norestart /verysilent /SUPPRESSMSGBOXES" -NoNewWindow -Wait |
| 99 | + echo "C:/$RTOOLS/usr/bin;C:/$RTOOLS/$ARCH-w64-mingw32.static.posix/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 |
96 | 100 |
|
97 | 101 | - name: Build Math libs |
98 | 102 | shell: pwsh |
|
0 commit comments