-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhaochen
committed
Nov 6, 2024
1 parent
0588cc0
commit 9cf276e
Showing
8 changed files
with
292 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Bug report | ||
description: Create a report to help us improve | ||
title: Bug report | ||
labels: ["bug :bug:"] | ||
body: | ||
- type: textarea | ||
id: bug_report_description | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: bug_report_reproduce | ||
attributes: | ||
label: To reproduce | ||
description: Steps to reproduce the behavior | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: bug_report_expected_behavior | ||
attributes: | ||
label: Expected behavior | ||
description: A clear and concise description of what you expected to happen | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: bug_report_screenshots | ||
attributes: | ||
label: Screenshots | ||
description: | | ||
If applicable, add screenshots to help explain your problem | ||
Tip: You can attach images by clicking this area to highlight it and then dragging files in. | ||
- type: textarea | ||
id: bug_report_desktop | ||
attributes: | ||
label: OS (please complete the following information) | ||
placeholder: | | ||
- OS: [e.g. Ubuntu] | ||
- Version: [e.g. 22.04] | ||
- type: textarea | ||
id: bug_report_additional_context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the problem here |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Feature request | ||
description: Suggest an idea for this project | ||
title: Feature request | ||
labels: ["feature :sparkles:"] | ||
body: | ||
- type: textarea | ||
id: feature_request_description | ||
attributes: | ||
label: Is your feature request related to a problem? Please describe. | ||
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: feature_request_solution_description | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: A clear and concise description of what you want to happen | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: feature_request_alternatives | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: A clear and concise description of any alternative solutions or features you've considered | ||
- type: textarea | ||
id: feature_request_additional_context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context or screenshots about the feature request here |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## Description | ||
|
||
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. | ||
|
||
## Type of change | ||
|
||
Please delete options that are not relevant. | ||
|
||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] This change requires a documentation update | ||
|
||
## Issue Number (if applicable) | ||
Issue Number | ||
|
||
## Version Update Suggestion | ||
- [ ] Yes | ||
- [ ] No | ||
|
||
## Document update commit | ||
If need update version, so need update Document Package, need commit id in Internal GitHub | ||
|
||
## Suggested New Version | ||
e.g., v1.2.3.4 | ||
|
||
## Solution Approach | ||
Provide a brief description of the approach taken to resolve the issue or implement the feature. | ||
|
||
## Clang Format Verification: | ||
Confirm that the code passes local clang-format checks and adheres to the project's coding standards. | ||
|
||
## How Has This Been Tested? | ||
|
||
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. | ||
|
||
- [ ] Test A | ||
- [ ] Test B | ||
|
||
**Test Configuration**: | ||
* OS version: | ||
* Hardware: | ||
* SDK: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Build Test with SDK | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
PERSIST_DIR: /srv/gh-runners/quic-qrb-ros | ||
DL_DIR: /srv/gh-runners/quic-qrb-ros/downloads | ||
WORKSPACE: ${{ github.workspace }}/ros_ws | ||
SDK_DIR: ${{ github.workspace }}/sdk | ||
|
||
jobs: | ||
build: | ||
runs-on: [self-hosted, x86] | ||
timeout-minutes: 720 | ||
steps: | ||
- name: Set up SDK | ||
run: | | ||
set -x | ||
if [ -e ${PERSIST_DIR} ] && [ -r ${PERSIST_DIR} ] && [ -x ${PERSIST_DIR} ];then | ||
echo "Setting up SDK..." | ||
umask 022 | ||
${PERSIST_DIR}/sdk/qcom-robotics-ros2-humble-x86_64-qcom-robotics-full-image-armv8-2a-qcs6490-rb3gen2-vision-kit-toolchain-1.0.sh <<EOF | ||
${SDK_DIR} | ||
Y | ||
EOF | ||
else | ||
echo "SDK is not available!!! Exit." | ||
exit 1 | ||
fi | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
path: ${{ github.workspace }}/ros_ws/${{ github.event.repository.name }} | ||
|
||
- name: Download dependencies | ||
run: | | ||
cd ${WORKSPACE} | ||
git clone https://github.com/quic-qrb-ros/lib_mem_dmabuf.git | ||
git clone https://github.com/quic-qrb-ros/qrb_ros_transport.git | ||
cd qrb_ros_transport | ||
git checkout 5d36172c87aaaaa95d9468549263af243c94b6da | ||
- name: build | ||
run: | | ||
cd ${SDK_DIR} | ||
umask 022 | ||
. environment-setup-armv8-2a-qcom-linux | ||
cd ${WORKSPACE} | ||
export AMENT_PREFIX_PATH="${OECORE_TARGET_SYSROOT}/usr;${OECORE_NATIVE_SYSROOT}/usr" | ||
export PYTHONPATH=${PYTHONPATH}:${OECORE_TARGET_SYSROOT}/usr/lib/python3.10/site-packages | ||
colcon build --merge-install --cmake-args \ | ||
-DPython3_ROOT_DIR=${OECORE_TARGET_SYSROOT}/usr \ | ||
-DPython3_NumPy_INCLUDE_DIR=${OECORE_TARGET_SYSROOT}/usr/lib/python3.10/site-packages/numpy/core/include \ | ||
-DPYTHON_SOABI=cpython-310-aarch64-linux-gnu -DCMAKE_STAGING_PREFIX=$(pwd)/install \ | ||
-DCMAKE_PREFIX_PATH=$(pwd)/install/share \ | ||
-DBUILD_TESTING=OFF |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Compile test | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-pr: | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
machine: | ||
- qcm6490-idp | ||
#- qcs6490-rb3gen2-core-kit | ||
#- sa8775p-ride-sx | ||
runs-on: [self-hosted, x86] | ||
name: ${{ matrix.machine }}/poky/systemd | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Compile | ||
run: | | ||
# Use this directory to cache things. You can do something | ||
# like: | ||
# if [ ! -d ${persist_dir}/sdk ] ; | ||
# echo "Downloading sdk" | ||
# ..... | ||
# fi | ||
persist_dir=/srv/gh-runners/quic-qrb-ros | ||
# quic-yocto uses Kas to build with: | ||
# export DL_DIR=${persist_dir}/downloads | ||
# export SSTATE_DIR=${persist_dir}/sstate-cache | ||
# mkdir -p $DL_DIR | ||
# mkdir -p $SSTATE_DIR | ||
# mkdir build | ||
# cd build | ||
# kas build ../ci/${{ matrix.machine }}.yml |
5 changes: 5 additions & 0 deletions
5
.github/workflows/quic-organization-repolinter.properties.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "QuIC Organization Repolinter Workflow", | ||
"description": "QuIC Organization Repolinter workflow template.", | ||
"iconName": "todo" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: QuIC Organization Repolinter | ||
on: [push, pull_request, workflow_dispatch] | ||
jobs: | ||
repolinter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v2 | ||
- name: Verify repolinter config file is present | ||
id: check_files | ||
uses: andstor/file-existence-action@v1 | ||
with: | ||
files: "repolint.json" | ||
- name: Run Repolinter with local repolint.json | ||
if: steps.check_files.outputs.files_exists == true | ||
uses: todogroup/repolinter-action@v1 | ||
with: | ||
config_file: "repolint.json" | ||
- name: Run Repolinter with default ruleset | ||
if: steps.check_files.outputs.files_exists == false | ||
uses: todogroup/repolinter-action@v1 | ||
with: | ||
config_url: "https://raw.githubusercontent.com/quic/.github/main/repolint.json" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.