Commit Graph

14 Commits

Author SHA1 Message Date
Don Cross
11b2bcb110 Remove Python version specifier in yml file. Use latest version. 2024-05-30 10:01:18 -04:00
Don Cross
4e07eab41f Python: Adding _sin, _cos functions that I can redefine later. 2024-05-28 20:26:36 -04:00
Don Cross
8abc55b4c1 Log environment variables. Looking for something to explain odd Python calculations. 2024-05-28 19:53:45 -04:00
Don Cross
5dbede1a4b Looking at _CalcVsop as the possible origin of numeric errors. 2024-05-28 17:10:07 -04:00
Don Cross
f66515deb4 Attempting to diagnose recent changes in Python calculations.
It looks like values returned by VsopModel() are inconsistent
running the same code on different hardware.
On my system, Python and C are producing nearly identical results,
but in GitHub Actions, I'm getting errors on the order of 1e-12.

I'm beginning a series of commits in a separate branch where
I can hack the code to debug my code where it fails, which is
unfortunately only on GitHub Actions.
2024-05-28 16:40:26 -04:00
Don Cross
700a834ffc Finally solved my download problems.
I realize now that the URLs I was using to download stuff
from GitHub Actions were redirects. So I need to use 'curl -L'
to follow the redirects. But I also removed the redirect by
using the ultimate URLs.
2022-12-04 19:42:05 -05:00
Don Cross
2154ae2bb6 Still flailing around trying to download a file.
All this stuff used to work, but suddenly is broken.
I just want to download a file!
Found a dubious hardcoded path online where wget.exe might be.
2022-12-04 17:49:54 -05:00
Don Cross
0f078a24ce Another try. Apparently curl isn't working. Use wget instead. 2022-12-04 17:40:23 -05:00
Don Cross
db90e39dfc Mirror Doxygen for Windows on GitHub for automated tests.
My GitHub actions automated tests kept failing today
because commit_hook.bat kept failing to download
the Doxygen zipped binaries for Windows.
So I have downloaded it myself and mirrored it in
my `ephemeris` repo where I keep other large files that
are only needed by Astronomy Engine tests, not end users.
Downloading from GitHub to a GitHub Actions worker
should be much more reliable (probably faster too).

Another advantage is the version will be stable,
so I don't have to keep fixing things every time they
make a change to Doxygen. It's good enough the way it is!
2022-12-04 17:18:21 -05:00
Don Cross
1caebb60cb Doxygen download bug fix. 2022-11-01 20:43:28 -04:00
Don Cross
7435134445 Scrape correct download link for Doxygen.
The Windows version of the GitHub Actions tests require
downloading Doxygen binaries. Every now and then this
step would break when Doxygen updates their version numbers.
Added a Python script to scrape the Doxygen website to
determine the correct URL to download.
commit_hook.bat calls the Python script to determine
the URL, so I don't have to keep manually updating it.
2022-11-01 20:33:42 -04:00
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
Don Cross
90aa6ed369 Cleaned up GitHub Actions configuration.
Deleted the do-nothing placeholders for installing
the Kotlin Native compiler. We are not going to support
Kotlin Native for now.

Removed redundant installation of pylint from the
Windows commit_hook.bat.

Other batch file cleanup, now that I know "||" works in Windows.
2022-05-02 12:30:23 -04:00
Don Cross
7553b6b749 Windows GitHub Actions: check all steps for errors
I found out in the Kotlin branch that GitHub Actions
only checks for error codes in the last step of the
Windows commands it executes. I moved all the command
line steps into a batch file generate\commit_hook.bat.
It does all the error checking itself.
2022-04-13 16:13:47 -04:00