Diff Drive Implementation #63
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 with Clang/LLVM | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
Clang-Build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/zephyrproject-rtos/ci:v0.26.6 | |
options: '--entrypoint /bin/bash' | |
env: | |
ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.4 | |
LLVM_TOOLCHAIN_PATH: /usr/lib/llvm-16 | |
steps: | |
- name: Clone kyvernitis repository | |
run: | | |
git clone https://github.com/waseemR02/kyvernitis.git | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Environment Setup | |
run: | | |
echo "$HOME/.local/bin" >> $GITHUB_PATH | |
git config --global safe.directory '*' | |
git log --pretty=oneline | head -n 10 | |
west init -l . || true | |
west config --global update.narrow true | |
west update | |
- name: Check Environment | |
working-directory: ${{github.workspace}}/.. | |
run: | | |
cmake --version | |
${LLVM_TOOLCHAIN_PATH}/bin/clang --version | |
gcc --version | |
ls -la | |
ls -la kyvernitis | |
- name: Build Bio-arm application | |
working-directory: ${{github.workspace}}/.. | |
run: west build -p always -o=-j2 -b blackpill_f401cc kyvernitis/bio-arm | |
- name: Build Gripper-arm application | |
working-directory: ${{github.workspace}}/.. | |
run: west build -p always -o=-j2 -b blackpill_f401cc kyvernitis/gripper-arm | |
- name: Build Astro-Assist application | |
working-directory: ${{github.workspace}}/.. | |
run: west build -p always -o=-j2 -b blackpill_f401cc kyvernitis/astro-assist | |
- name: Build FPV-Switch application | |
working-directory: ${{github.workspace}}/.. | |
run: west build -p always -o=-j2 -b blackpill_f401cc kyvernitis/fpv-switch | |
- name: Build Mother application (Drive) | |
working-directory: ${{github.workspace}}/.. | |
run: west build -p always -o=-j2 -b black_f407ve kyvernitis/mother -- -DDTC_OVERLAY_FILE=boards/black_f407.overlay | |
- name: Build tests/read_can | |
working-directory: ${{github.workspace}}/.. | |
run: west build -p always -o=-j2 -b blackpill_f401cc kyvernitis/tests/read_can |