Skip to content

Signal easel implementation w/telemetry commands and giraffe data link #18

Signal easel implementation w/telemetry commands and giraffe data link

Signal easel implementation w/telemetry commands and giraffe data link #18

Workflow file for this run

name: Giraffe CI
on:
pull_request:
branches: [ main ]
jobs:
build_gfs:
name: Build / Giraffe Flight System
runs-on: ubuntu-latest
container:
image: joshuajerred/giraffe:latest
options: --user root
steps:
- uses: actions/checkout/@v1
with:
submodules: recursive
- name: CMake Configure
run: mkdir build -p && cd build && cmake ..
- name: Build Giraffe Flight System
run: cd build && make giraffe_flight_system -j 4
build_gdl:
name: Build / Giraffe Data Link
runs-on: ubuntu-latest
container:
image: joshuajerred/giraffe:latest
options: --user root
steps:
- uses: actions/checkout/@v1
with:
submodules: recursive
- name: CMake Configure
run: mkdir build -p && cd build && cmake ..
- name: Build Giraffe Data Link
run: cd build && make giraffe_data_link -j 4
common_tests_cpp:
name: Unit Tests / Common C++
runs-on: ubuntu-latest
container:
image: joshuajerred/giraffe:latest
options: --user root
steps:
- uses: actions/checkout/@v1
with:
submodules: recursive
- name: CMake Configure
run: mkdir build -p && cd build && cmake ..
- name: Build Test
run: cd build && make unit_test_common -j 4
- name: Run Test
run: cd build/bin/tests/common && ./unit_test_common
gfs_tests:
name: Unit Tests / Giraffe Flight System
runs-on: ubuntu-latest
container:
image: joshuajerred/giraffe:latest
options: --user root
steps:
- uses: actions/checkout/@v1
with:
submodules: recursive
- name: CMake Configure
run: mkdir build -p && cd build && cmake ..
- name: Build Test
run: cd build && make unit_test_gfs -j 4
- name: Run Test
run: cd build/bin/tests/flight_system && ./unit_test_gfs
data_link_tests:
name: Unit Tests / Data Link
runs-on: ubuntu-latest
container:
image: joshuajerred/giraffe:latest
options: --user root
steps:
- uses: actions/checkout/@v1
with:
submodules: recursive
- name: CMake Configure
run: mkdir build -p && cd build && cmake ..
- name: Build Test
run: cd build && make unit_test_gdl -j 4
- name: Run Test
run: cd build/bin/tests/data_link && ./unit_test_gdl
common_tests_js:
name: Unit Tests / Common JS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm install
working-directory: ./src/common/protocol
- run: npm test
working-directory: ./src/common/protocol
ggs_tests:
name: Unit Tests / Giraffe Ground Station
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm install
working-directory: ./src/ground_station
- run: npm test
working-directory: ./src/ground_station
gwc_tests:
name: Unit Tests / Giraffe Web Client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm install
working-directory: ./src/web_client
- run: npm test
working-directory: ./src/web_client
static_analysis:
name: Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout/@v3
with:
submodules: recursive
- name: Install cmake-lint
run: pip install cmakelint
- name: Run cmake-lint
run: cmakelint --config=./project/cmakelintrc