Added macos support for libcyphal_demo - UDP only transport. #110
Workflow file for this run
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: build | |
on: | |
push: | |
branches: | |
- main | |
- 'issue/*' | |
pull_request: | |
branches: | |
- main | |
- 'issue/*' | |
env: | |
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
BUILD_TYPE: Release | |
jobs: | |
build_libcyphal_demo: | |
name: Build LibCyphal demo | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Configure CMake | |
run: cd ${{github.workspace}}/libcyphal_demo && cmake --preset Demo-Linux | |
- name: Build Debug | |
run: cd ${{github.workspace}}/libcyphal_demo && cmake --build --preset Demo-Linux-Debug | |
- name: Build Release | |
run: cd ${{github.workspace}}/libcyphal_demo && cmake --build --preset Demo-Linux-Release | |
build_libudpard_demo: | |
name: Build LibUDPard demo | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/libudpard_demo/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{github.workspace}}/libudpard_demo | |
- name: Build | |
run: cmake --build ${{github.workspace}}/libudpard_demo/build --config ${{env.BUILD_TYPE}} | |
build_differential_pressure_sensor: | |
name: Build Differential Pressure Sensor demo | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/differential_pressure_sensor/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{github.workspace}}/differential_pressure_sensor | |
- name: Build | |
run: cmake --build ${{github.workspace}}/differential_pressure_sensor/build --config ${{env.BUILD_TYPE}} | |
build_udral_servo: | |
name: Build UDRAL Servo demo | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/udral_servo/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{github.workspace}}/udral_servo | |
- name: Build | |
run: cmake --build ${{github.workspace}}/udral_servo/build --config ${{env.BUILD_TYPE}} |