Merge branch 'master' of https://github.com/ebraminio/astronomy into macos

This commit is contained in:
Don Cross
2022-01-07 17:18:03 -05:00
2 changed files with 25 additions and 11 deletions

View File

@@ -23,3 +23,26 @@ jobs:
node-version: 14.x
- name: Test Astronomy Engine
run: cd generate && rm -f output/vsop*.txt output/*.eph output/jupiter_moons.txt && ./run && ./verify_clean
Astronomy-Engine-Macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Init dotnet core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Init Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install Python linter
run: python -m pip install --upgrade pip && pip install pylint
- name: Install documentation tools
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install doxygen
- name: Init Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: Test Astronomy Engine
run: cd generate && rm -f output/vsop*.txt output/*.eph output/jupiter_moons.txt && ./run && ./verify_clean

View File

@@ -10,7 +10,7 @@ and use the [source code that has already been generated for that language](../s
---
# Linux
# Linux and macOS
## Tool setup
@@ -24,6 +24,7 @@ The following tools are required for developers:
- doxygen
- xsltproc
- graphviz
- coreutils
Change into the directory `hydrogen` and execute: `npm init`.
@@ -59,13 +60,3 @@ Once you have all the tools installed and configured, you are ready to proceed.
Change into the `generate` directory (this directory) and run the
batch file `run.bat` to rebuild all code, generate all documentation,
and run all the unit tests.
---
# Mac
I could use some help getting this to work on the Mac. If you are looking
for an open source project to help with, and you have a Mac, here is your chance!
This should be similar to the Linux steps, but may require some tweaks.
See issue #142 for more information.