This repository has been archived by the owner on Aug 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix long name Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Remvoe probably unnecessary comments Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Revive fail_ci_if_error of Codecov Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add workflow_dispatch to all workflows Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Use ubuntu-latest Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Add container Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Replace unnecessary id `plum` to `set_env` Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Unify github action's version Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Define GITHUB_PAGES_URL Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix name Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Delete unnecessary workflow_dispatch Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Fix lizard command Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Change file name Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Update .github/workflows/code_metrics_pr.yml Co-authored-by: Keisuke Shima <keisuke.shima@tier4.jp> * Update .github/workflows/code_metrics_main.yml Co-authored-by: Keisuke Shima <keisuke.shima@tier4.jp> * Update .github/workflows/build_and_test.yml Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * Update .github/workflows/nightly_clang_build.yml Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * Update .github/workflows/nightly_clang_build.yml Co-authored-by: Kazuki Miyahara <kmiya@outlook.com> * Fixup Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Co-authored-by: Keisuke Shima <keisuke.shima@tier4.jp> Co-authored-by: Kazuki Miyahara <kmiya@outlook.com>
- Loading branch information
1 parent
aaa2a32
commit 8e09f12
Showing
5 changed files
with
65 additions
and
39 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
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
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
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
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 |
---|---|---|
@@ -1,33 +1,41 @@ | ||
name: Clang nightly build | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 19 * * *" # run at 4 AM JST | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-using-clang: | ||
runs-on: ubuntu-20.04 | ||
container: ubuntu:focal | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v2.3.4 | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup ROS environment | ||
uses: ros-tooling/setup-ros@0.1.1 | ||
uses: ros-tooling/setup-ros@v0.1 | ||
with: | ||
required-ros-distributions: foxy | ||
|
||
- name: Run action-ros-ci | ||
id: action_ros_ci_step | ||
uses: ros-tooling/action-ros-ci@0.1.2 | ||
uses: ros-tooling/action-ros-ci@v0.2 | ||
with: | ||
package-name: obstacle_stop_planner_refine | ||
target-ros2-distro: foxy | ||
vcs-repo-file-url: build_depends.repos | ||
colcon-mixin-name: clang-libcxx | ||
# If possible, pin the repository in the workflow to a specific commit to avoid | ||
# changes in colcon-mixin-repository from breaking your tests. | ||
colcon-defaults: | | ||
{ | ||
"build": { | ||
"mixin": ["release", "compile-commands"], | ||
"cmake-args": [ | ||
"-DCMAKE_C_COMPILER=clang", | ||
"-DCMAKE_CXX_COMPILER=clang++", | ||
"-DCMAKE_CXX_FLAGS='-Wthread-safety'", | ||
"-DFORCE_BUILD_VENDOR_PKG=ON" | ||
], | ||
"continue-on-error": true | ||
} | ||
} | ||
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/1ddb69bedfd1f04c2f000e95452f7c24a4d6176b/index.yaml | ||
extra-cmake-args: -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON |