-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'kotlin': official release!
This is our first official release of Astronomy Engine that includes support for Kotlin and Java for the JVM. There are also a few minor enhancements and improvements in the other supported languages. Special thanks to: @ebraminio, who helped me get the build environment set up, taught me lots of cool stuff about the Kotlin language, and provided numerous code reviews and extremely helpful feedback the whole time. His help made this project much faster and greatly improved the quality of the work.
- Loading branch information
Showing
526 changed files
with
28,880 additions
and
1,423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
name: Astronomy Engine Unit Tests | ||
on: [push] | ||
jobs: | ||
Astronomy-Engine-Linux: | ||
runs-on: ubuntu-latest | ||
Astronomy-Engine: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, macos-11, windows-latest ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Add msbuild to path | ||
if: startsWith(matrix.os, 'windows') | ||
uses: microsoft/[email protected] | ||
- name: Init dotnet core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
|
@@ -15,56 +21,27 @@ jobs: | |
python-version: 3.7 | ||
- name: Install Python linter | ||
run: python -m pip install --upgrade pip && pip install pylint | ||
- name: Install documentation tools | ||
- name: Install documentation tools Linux | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: sudo apt install -y doxygen xsltproc | ||
- 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 | ||
|
||
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 | ||
- name: Install documentation tools macOS | ||
if: startsWith(matrix.os, 'macOS') | ||
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 | ||
- name: set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- uses: gradle/wrapper-validation-action@v1 | ||
|
||
- name: Test Astronomy Engine Unix | ||
if: startsWith(matrix.os, 'windows') == false | ||
run: cd generate && rm -f output/vsop*.txt output/*.eph output/jupiter_moons.txt && ./run && ./verify_clean | ||
|
||
Astronomy-Engine-Windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Add msbuild to path | ||
uses: microsoft/[email protected] | ||
- 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: Init Node.js 14.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14.x | ||
- name: Test Astronomy Engine | ||
- name: Test Astronomy Engine Windows | ||
if: startsWith(matrix.os, 'windows') | ||
shell: cmd | ||
run: call generate\commit_hook.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.vscode | ||
.vs | ||
.idea | ||
__pycache__ | ||
bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.