Skip to content

Commit 03088ab

Browse files
committed
try enabling windows documentation workflow (attempt 8)
1 parent 768b85d commit 03088ab

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

.github/workflows/build_cmake.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ jobs:
121121

122122
- name: Install LaTeX (Linux)
123123
run: |
124+
sudo systemctl disable snapd.service snapd.socket # workaround to avoid hanging on restarting the snapd after installing the firefox snap
124125
sudo apt update --fix-missing
125126
sudo apt upgrade
126127
sudo apt update
@@ -152,34 +153,20 @@ jobs:
152153
ls -al /etc/alternatives/clang++
153154
which clang++
154155
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')
156157

157158
- name: Install libxapian (Ubuntu 24.04)
158159
run: |
159160
sudo apt update
160161
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')
174163

175164
- name: Install MikTeX (Windows)
176165
uses: nick-invision/retry@v3
177166
with:
178167
timeout_minutes: 10
179168
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
183170
if: matrix.config.os == 'windows-latest'
184171

185172
- name: Configure MikTeX (Windows)

0 commit comments

Comments
 (0)