Skip to content

#2074 Parameterize buffer size in UDP and TCP Server. #3905

#2074 Parameterize buffer size in UDP and TCP Server.

#2074 Parameterize buffer size in UDP and TCP Server. #3905

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ devel, release/** ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ devel, release/** ]
paths-ignore:
- 'docs/**'
- '**.md'
- '.github/actions/spelling/**'
- '.github/ISSUE_TEMPLATE/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Framework:
runs-on: ubuntu-22.04
steps:
- name: "Checkout F´ Repository"
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: ./.github/actions/setup
- name: F prime CI step
run: ./ci/tests/Framework.bash
# Archive the outputs
- name: 'Archive Logs'
uses: actions/upload-artifact@v4
if: always()
with:
name: ci-framework-logs
path: ci-logs.tar.gz
retention-days: 5
Ref:
runs-on: ubuntu-22.04
steps:
- name: "Checkout F´ Repository"
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: ./.github/actions/setup
- name: F prime CI step
run: ./ci/tests/Ref.bash
# Archive the outputs
- name: 'Archive Logs'
uses: actions/upload-artifact@v4
if: always()
with:
name: ci-ref-logs
path: ci-logs.tar.gz
retention-days: 5
Integration:
runs-on: ubuntu-22.04
steps:
- name: "Checkout F´ Repository"
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: ./.github/actions/setup
- name: Setup Valgrind
run: |
sudo apt-get update
sudo apt-get install valgrind
- name: F prime CI step
run: ./ci/tests/30-ints.bash
# Archive the outputs
- name: 'Archive Logs'
uses: actions/upload-artifact@v4
if: always()
with:
name: ci-int-logs
path: ci-logs.tar.gz
retention-days: 5
Quality:
runs-on: ubuntu-22.04
steps:
- name: "Checkout F´ Repository"
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: ./.github/actions/setup
- name: Setup Dependencies
run: |
sudo apt-get update
sudo apt-get install clang-tidy-12
# Uses the default configuration file (.clang-tidy)
- name: General Static Analysis
run: |
fprime-util generate --ut -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 -DCMAKE_CXX_CLANG_TIDY=clang-tidy-12
fprime-util build --all --ut -j4
# Uses the release configuration file (release.clang-tidy)
- name: Flight Code Static Analysis
run: |
fprime-util generate -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 -DCMAKE_CXX_CLANG_TIDY="clang-tidy-12;--config-file=$PWD/release.clang-tidy"
fprime-util build --all -j4