File tree Expand file tree Collapse file tree 3 files changed +18
-28
lines changed Expand file tree Collapse file tree 3 files changed +18
-28
lines changed Original file line number Diff line number Diff line change 66# Put pdflatex on the path (needed only for CMD check)
77if [ " $( uname -s | grep ARM) " ]; then
88export PATH=" /c/aarch64-w64-mingw32.static.posix/bin:$PATH :/c/Users/$USER /AppData/Roaming/TinyTeX/bin/windows:$HOME /AppData/Local/Programs/MiKTeX/miktex/bin/x64:/c/progra~1/MiKTeX/miktex/bin/x64:/c/progra~1/MiKTeX 2.9/miktex/bin/x64"
9+ tcltk=" https://github.com/r-windows/rtools-chocolatey/releases/download/6536/tcltk-aarch64-6536-6492.zip"
10+ echo " USE_LLVM = 1" >> src/gnuwin32/MkRules.local
911clang --version
1012else
1113export PATH=" /c/x86_64-w64-mingw32.static.posix/bin:$PATH :/c/Users/$USER /AppData/Roaming/TinyTeX/bin/windows:$HOME /AppData/Local/Programs/MiKTeX/miktex/bin/x64:/c/progra~1/MiKTeX/miktex/bin/x64:/c/progra~1/MiKTeX 2.9/miktex/bin/x64"
14+ tcltk=" https://github.com/r-windows/rtools-chocolatey/releases/download/6536/tcltk-6536-6492.zip"
1215gcc --version
1316fi
17+
1418echo " PATH: $PATH "
1519pdflatex --version
1620texindex --version
@@ -27,14 +31,8 @@ curl -sSL https://curl.se/ca/cacert.pem > etc/curl-ca-bundle.crt
2731./.github/scripts/svn-info.sh
2832
2933# Download the TCL bundle required by tcltk package
30- if [ " $( uname -s | grep ARM) " ]; then
31- echo " USE_LLVM = 1" >> src/gnuwin32/MkRules.local
32- curl -OL https://github.com/r-windows/rtools-chocolatey/releases/download/6536/tcltk-aarch64-6536-6492.zip
33- unzip tcltk-aarch64-6536-6492.zip
34- else
35- curl -OL https://github.com/r-windows/rtools-chocolatey/releases/download/6536/tcltk-6536-6492.zip
36- unzip tcltk-6536-6492.zip
37- fi
34+ curl -o tcltk.zip -L $tcltk
35+ unzip -q tcltk.zip
3836
3937# Add custom flags to MkRules.local
4038# cp .github/scripts/MkRules.local src/gnuwin32/
Original file line number Diff line number Diff line change 66# Put pdflatex on the path (needed only for CMD check)
77if [ " $( uname -s | grep ARM) " ]; then
88export PATH=" /c/aarch64-w64-mingw32.static.posix/bin:$PATH :/c/Users/$USER /AppData/Roaming/TinyTeX/bin/windows:$HOME /AppData/Local/Programs/MiKTeX/miktex/bin/x64:/c/progra~1/MiKTeX/miktex/bin/x64:/c/progra~1/MiKTeX 2.9/miktex/bin/x64"
9+ tcltk=" https://github.com/r-windows/rtools-chocolatey/releases/download/6536/tcltk-aarch64-6536-6492.zip"
10+ echo " USE_LLVM = 1" >> src/gnuwin32/MkRules.local
911clang --version
1012else
1113export PATH=" /c/x86_64-w64-mingw32.static.posix/bin:$PATH :/c/Users/$USER /AppData/Roaming/TinyTeX/bin/windows:$HOME /AppData/Local/Programs/MiKTeX/miktex/bin/x64:/c/progra~1/MiKTeX/miktex/bin/x64:/c/progra~1/MiKTeX 2.9/miktex/bin/x64"
14+ tcltk=" https://github.com/r-windows/rtools-chocolatey/releases/download/6536/tcltk-6536-6492.zip"
1215gcc --version
1316fi
17+
1418echo " PATH: $PATH "
1519pdflatex --version
1620texindex --version
@@ -27,15 +31,8 @@ curl -sSL https://curl.se/ca/cacert.pem > etc/curl-ca-bundle.crt
2731./.github/scripts/svn-info.sh
2832
2933# Download the TCL bundle required by tcltk package
30- # curl -OL https://cran.r-project.org/bin/windows/Rtools/rtools43/files/tcltk-5493-5412.zip
31- if [ " $( uname -s | grep ARM) " ]; then
32- echo " USE_LLVM = 1" >> src/gnuwin32/MkRules.local
33- curl -OL https://github.com/r-windows/rtools-chocolatey/releases/download/6536/tcltk-aarch64-6536-6492.zip
34- unzip tcltk-aarch64-6536-6492.zip
35- else
36- curl -OL https://github.com/r-windows/rtools-chocolatey/releases/download/6536/tcltk-6536-6492.zip
37- unzip tcltk-6536-6492.zip
38- fi
34+ curl -o tcltk.zip -L $tcltk
35+ unzip -q tcltk.zip
3936
4037# Add custom flags to MkRules.local
4138# cp .github/scripts/MkRules.local src/gnuwin32/
Original file line number Diff line number Diff line change 2424 OS : [ 'windows-latest', 'windows-11-arm']
2525 steps :
2626 - name : Prepare git
27- run : git config --global core.autocrlf false
27+ run : |
28+ git config --global core.autocrlf false
29+ echo "archfix=${{ matrix.OS == 'windows-11-arm' && '-aarch64' || '' }}" >> $GITHUB_ENV
2830 shell : bash
2931
3032 - name : Checkout
3739 msystem : MSYS
3840 install : git make perl curl texinfo texinfo-tex rsync zip unzip diffutils
3941
40- - name : " Download rtools45 ARM64 toolchain"
41- if : matrix.OS == 'windows-11-arm'
42- run : |
43- url="https://github.com/r-windows/rtools-chocolatey/releases/download/6536/rtools45-toolchain-libs-base-aarch64-6536.tar.zst"
44- curl -sSL $url | tar x --zstd -C /c/ || true
45-
46- - name : " Download rtools45 Intel toolchain"
47- if : matrix.OS != 'windows-11-arm'
42+ - name : " Download rtools45 toolchain"
4843 run : |
49- url="https://github.com/r-windows/rtools-chocolatey/releases/download/6536/rtools45-toolchain-libs-base-6536.tar.zst"
44+ url="https://github.com/r-windows/rtools-chocolatey/releases/download/6536/rtools45-toolchain-libs-base${archfix} -6536.tar.zst"
5045 curl -sSL $url | tar x --zstd -C /c/ || true
5146
5247 - name : Set timezone
8075
8176 - uses : actions/upload-artifact@v4
8277 with :
83- name : installer
78+ name : installer${{env.archfix}}
8479 path : src/gnuwin32/installer/R-devel-win.exe
8580 if : matrix.script == 'installer'
You can’t perform that action at this time.
0 commit comments