Files
astronomy/generate/commit_hook.bat
Don Cross c9b6f76761 Windows doxygen was updated from v1.9.3 to v1.9.4.
Doxygen 1.9.3 binary for Windows is no longer available,
but 1.9.4 is available. This resolves broken build for Windows (I hope).
2022-05-06 22:03:17 -04:00

26 lines
883 B
Batchfile

@echo off
REM --------------------------------------------------------------------------------
REM Astronomy Engine - GitHub Actions steps for Windows.
REM This batch file is executed on every push to GitHub.
REM --------------------------------------------------------------------------------
REM Change to project/repo root directory.
cd %~dp0\..
echo.commit_hook: Repo root = %cd%
echo.commit_hook: Installing Doxygen.
md bin
cd bin
curl -o doxygen.zip https://www.doxygen.nl/files/doxygen-1.9.4.windows.x64.bin.zip || exit /b 1
7z x doxygen.zip || exit /b 1
del doxygen.zip
REM change to 'generate' directory, which is where this batch file is located.
cd %~dp0
echo.commit_hook: Running Astronomy Engine tests.
del output\vsop*.txt output\*.eph output\jupiter_moons.txt
call run.bat || exit /b 1
call verify_clean.bat || exit /b 1
echo.commit_hook: SUCCESS
exit /b 0