SPICE Only implementation #114
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
name: ASSIST Unit Tests (C) | |
on: [push, pull_request] | |
env: | |
JPL_PLANET_EPHEM: ../../data/de440.bsp | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download REBOUND | |
working-directory: ../ | |
run: | | |
pwd | |
git clone https://github.com/hannorein/rebound.git | |
- name: Download DE441 dataset | |
working-directory: ./data/ | |
run: | | |
#wget --no-verbose https://ssd.jpl.nasa.gov/ftp/eph/planets/bsp/de441.bsp | |
wget --no-verbose https://ssd.jpl.nasa.gov/ftp/eph/planets/bsp/de440.bsp | |
wget --no-verbose https://ssd.jpl.nasa.gov/ftp/eph/small_bodies/asteroids_de441/sb441-n16.bsp | |
- name: Reproduce Holman trajectory | |
working-directory: ./unit_tests/holman/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Reproduce Holman trajectory (backwards in time) | |
working-directory: ./unit_tests/holman_reverse/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Reproduce Apophis Encounter (non gravitational forces) | |
working-directory: ./unit_tests/apophis/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Reproduce Ceres-5303 encounter | |
working-directory: ./unit_tests/5303_Ceres/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Test interpolation | |
working-directory: ./unit_tests/interpolation/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Test onthefly interpolation | |
working-directory: ./unit_tests/onthefly_interpolation/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Test onthefly backwards interpolation | |
working-directory: ./unit_tests/onthefly_backwards_interpolation/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Test ephem_cache | |
working-directory: ./unit_tests/ephem_cache/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Test variational | |
working-directory: ./unit_tests/variational/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Test roundtrip | |
working-directory: ./unit_tests/roundtrip/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Test roundtrip adaptive | |
working-directory: ./unit_tests/roundtrip_adaptive/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Run benchmark | |
working-directory: ./unit_tests/benchmark | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Test Loading Spice Kernels | |
working-directory: ./unit_tests/spk_init/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Test Loading Constants from Planet SPK | |
working-directory: ./unit_tests/spk_load_constants/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound | |
- name: Test Joining Mass Data from SPK | |
working-directory: ./unit_tests/spk_join_masses/ | |
run: | | |
make | |
LD_LIBRARY_PATH=../../../rebound/src/ ./rebound |