@@ -121,6 +121,7 @@ jobs:
121
121
122
122
- name : Install LaTeX (Linux)
123
123
run : |
124
+ sudo systemctl disable snapd.service snapd.socket # workaround to avoid hanging on restarting the snapd after installing the firefox snap
124
125
sudo apt update --fix-missing
125
126
sudo apt upgrade
126
127
sudo apt update
@@ -152,34 +153,20 @@ jobs:
152
153
ls -al /etc/alternatives/clang++
153
154
which clang++
154
155
clang++ -v
155
- if : matrix.config.cc == 'clang' && (matrix.config.os == 'ubuntu-24.04' || matrix.config.os == 'ubuntu-24.04-arm ')
156
+ if : matrix.config.cc == 'clang' && startsWith (matrix.config.os, 'ubuntu-24')
156
157
157
158
- name : Install libxapian (Ubuntu 24.04)
158
159
run : |
159
160
sudo apt update
160
161
sudo apt install libxapian-dev
161
- if : matrix.config.os == 'ubuntu-24.04' || matrix.config.os == 'ubuntu-24.04-arm'
162
-
163
- # TODO: package disappeared overnight, disabled for now
164
- # - name: Install LaTeX (Windows)
165
- # uses: teatimeguest/setup-texlive-action@v3
166
- # with:
167
- # packages: >-
168
- # scheme-medium
169
- # collection-latexextra
170
- # babel-dutch
171
- # cjk
172
- # bibtex
173
- # if: matrix.config.os == 'windows-latest'
162
+ if : startsWith(matrix.config.os,'ubuntu-24')
174
163
175
164
- name : Install MikTeX (Windows)
176
165
uses : nick-invision/retry@v3
177
166
with :
178
167
timeout_minutes : 10
179
168
max_attempts : 3
180
- command : |
181
- choco install miktex --no-progress --params "/Set:basic" -y
182
- echo "C:\Program Files\MiKTeX\miktex\bin\x64" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
169
+ command : choco install miktex --no-progress --params "/Set:basic" -y && echo "C:\Program Files\MiKTeX\miktex\bin\x64" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
183
170
if : matrix.config.os == 'windows-latest'
184
171
185
172
- name : Configure MikTeX (Windows)
0 commit comments