72
72
- name : Build on Linux
73
73
if : startsWith(matrix.image, 'ubuntu')
74
74
run : |
75
- sudo apt --yes update
76
- sudo apt --yes install nvidia-cuda-toolkit
75
+ sudo apt-get --yes update
76
+ sudo apt-get --yes install nvidia-cuda-toolkit
77
77
/bin/sh ./build.sh ${{ matrix.options }} ${{ matrix.asm }}
78
78
- name : Build on macOS
79
79
if : startsWith(matrix.image, 'macos')
@@ -148,8 +148,8 @@ jobs:
148
148
- name : Build R package
149
149
run : |
150
150
cd R
151
- sudo apt --yes update
152
- sudo apt --yes install texlive-latex-base texlive-fonts-extra
151
+ sudo apt-get --yes update
152
+ sudo apt-get --yes install texlive-latex-base texlive-fonts-extra
153
153
Rscript build.R
154
154
- name : Display errors
155
155
if : failure()
@@ -652,8 +652,8 @@ jobs:
652
652
if : startsWith(matrix.image, 'ubuntu')
653
653
continue-on-error : true
654
654
run : |
655
- sudo apt --yes update
656
- sudo apt --yes install texlive-latex-base texlive-fonts-extra
655
+ sudo apt-get --yes update
656
+ sudo apt-get --yes install texlive-latex-base texlive-fonts-extra
657
657
install_file=$(echo bld/R/interpret_*.tar.gz)
658
658
install_file=$(basename "$install_file" .tar.gz)
659
659
cd bld/R
@@ -676,8 +676,8 @@ jobs:
676
676
run : |
677
677
wget -qO - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
678
678
echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" | sudo tee /etc/apt/sources.list.d/llvm-toolchain-jammy-16.list
679
- sudo apt --yes update
680
- sudo apt --yes install clang-format-16
679
+ sudo apt-get --yes update
680
+ sudo apt-get --yes install clang-format-16
681
681
find shared/libebm \( -iname "*.cpp" -o -iname "*.h" -o -iname "*.hpp" \) | xargs clang-format-16 -i -style=file
682
682
git diff --exit-code
683
683
- name : Mark step with a warning
0 commit comments