eccentricity ok #34
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: Linux CI build | |
on: | |
push: | |
branches: [ "main", "dev" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install scons | |
run: sudo apt-get install -y scons | |
- name: install (latest) eigen | |
run: sudo apt install libeigen3-dev | |
- name: Check out ggdatetime | |
uses: actions/checkout@master | |
with: | |
repository: xanthospap/ggdatetime | |
path: ./ggdatetime | |
#token: ${{ secrets.my_pat }} | |
- name: Check out geodesy | |
uses: actions/checkout@master | |
with: | |
repository: xanthospap/ggeodesy | |
path: ./ggeodesy | |
#token: ${{ secrets.my_pat }} | |
- name: install ggdatetime | |
run: cd ggdatetime && sudo scons install | |
- name: install geodesy | |
run: cd ggeodesy && sudo scons install | |
- name: build (production), gcc | |
run: scons | |
- name: build (debug), gcc | |
run: scons debug=1 | |
- name: build (debug & tests), gcc | |
run: scons debug=1 test=1 | |
- name: build (production), clang | |
run: scons --cxx=clang++ | |
- name: build (debug & tests), clang | |
run: scons debug=1 test=1 --cxx=clang++ |