Skip to content

feat(npm): add TypeScript declaration file index.d.ts to node client … #15

feat(npm): add TypeScript declaration file index.d.ts to node client …

feat(npm): add TypeScript declaration file index.d.ts to node client … #15

Workflow file for this run

name: CI
on:
push:
branches: [ '**' ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
name: Build & Test
runs-on: ubuntu-24.04
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
cmake \
git \
python3 \
python3-pip \
python3-venv \
libgrpc++-dev \
libprotobuf-dev \
protobuf-compiler \
protobuf-compiler-grpc \
nlohmann-json3-dev
- name: Set up Python Virtual Environment
run: |
python3 -m venv venv
./venv/bin/pip install -r generator/requirements.txt
echo "$GITHUB_WORKSPACE/venv/bin" >> $GITHUB_PATH
- name: Run Generator Parser Tests
run: |
python3 generator/test/test_parser.py
- name: Run Generator Dialect & Protoc Validation Tests
run: |
python3 generator/test/test_generator.py
- name: "Verify C++ Build & Run Tests (Dialect: common)"
run: |
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DMAVLINK_DIALECT=common
cmake --build build -j$(nproc)
cd build && ctest --output-on-failure
- name: "Verify C++ Build & Run Tests (Dialect: minimal)"
run: |
rm -rf build
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DMAVLINK_DIALECT=minimal
cmake --build build -j$(nproc)
cd build && ctest --output-on-failure