Skip to content

Commit 7b1549c

Browse files
committed
Doxygen is no longer needed for the MSVC job.
1 parent e8159ab commit 7b1549c

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

.github/workflows/cpp-python-build.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -268,33 +268,15 @@ jobs:
268268
run: pip install -U cython numpy pandas scipy wheel pywin32 'setuptools>=60.0.0'
269269
- name: Checkout JSBSim
270270
uses: actions/checkout@v3
271-
- name: Cache CTest cost data & Doxygen
271+
- name: Cache CTest cost data
272272
# Cache the file is used by CTest to optimize the distribution of the tests
273273
# between the cores and reduce execution time.
274-
# Also caches Doxygen executable since its installation from Chocolatey
275-
# takes such a looong time...
276274
uses: actions/cache@v3
277275
id: cache-win-msvc
278276
with:
279277
path: |
280278
build/Testing/Temporary/CTestCostData.txt
281-
C:\Program Files\doxygen\
282-
key: ${{ runner.os }}-${{ hashFiles('tests/CMakeLists.txt') }}-dox
283-
- name: Install Doxygen
284-
# Install Doxygen if there is a cache miss - even if we are not releasing
285-
# Otherwise the executable doxygen.exe could be missing from the cache at
286-
# the next release.
287-
if: steps.cache-win-msvc.outputs.cache-hit != 'true'
288-
run: cinst doxygen.install
289-
- name: Configure Doxygen
290-
if: env.release == 'true'
291-
run: |
292-
# Update PATH for CMake to find Doxygen
293-
$env:Path += ";C:\Program Files\doxygen\bin"
294-
# We don't want Doxygen to generate the HTML docs in this job (saves time)
295-
# Set GENERATE_HTML and HAVE_DOT to NO
296-
perl -i -pe "s/GENERATE_HTML\s*=\s*YES/GENERATE_HTML = NO/g" doc\JSBSim.dox.in
297-
perl -i -pe "s/HAVE_DOT\s*=\s*YES/HAVE_DOT = NO/g" doc\JSBSim.dox.in
279+
key: ${{ runner.os }}-${{ hashFiles('tests/CMakeLists.txt') }}
298280
- name: Checkout CxxTest
299281
uses: actions/checkout@v3
300282
with:
@@ -572,7 +554,6 @@ jobs:
572554
if: runner.os == 'Windows'
573555
run: cinst doxygen.install
574556
- name: Configure Doxygen
575-
if: runner.os != 'Windows'
576557
run: |
577558
# We don't want Doxygen to generate the HTML docs in this job (saves time)
578559
# Set GENERATE_HTML and HAVE_DOT to NO

0 commit comments

Comments
 (0)