Skip to content

云台相对模式命令不使用循环量 #120

云台相对模式命令不使用循环量

云台相对模式命令不使用循环量 #120

Workflow file for this run

name: build_test
on:
push:
branches: [ "dev" ]
paths:
- '**.c'
- '**.h'
- '**.cpp'
- '**.hpp'
- '**.cmake'
- '**.CMakeLists.txt'
- 'Kconfig'
- '**.ld'
- '**.s'
- '**.yml'
pull_request:
types: [opened, reopened]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
Build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
container:
image: ghcr.io/xrobot-org/docker-image:main
options: --user 0
steps:
- uses: actions/checkout@v3
- name: Init submodule
run: git config --global --add safe.directory /__w/XRobot/XRobot && git submodule init && git submodule update
- name: Build
run: export HOME=/root && bash -c "python project.py build all all"