mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
CI: update actions
This commit is contained in:
parent
1e65027b26
commit
5f6d716a57
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
@ -14,22 +14,21 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
env:
|
env:
|
||||||
# TODO: We have to use -Wno-redundant-decls since rosidl_generator_c is generating broken headers
|
|
||||||
- IMAGE: humble-source
|
- IMAGE: humble-source
|
||||||
CXXFLAGS: >-
|
CXXFLAGS: >-
|
||||||
-Werror -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wno-redundant-decls
|
-Werror -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith
|
||||||
-Wno-unused-parameter -Wno-unused-function -Wno-deprecated-copy -Wno-unused-but-set-parameter
|
-Wno-unused-parameter -Wno-unused-function -Wno-deprecated-copy -Wno-unused-but-set-parameter
|
||||||
- IMAGE: rolling-source
|
- IMAGE: rolling-source
|
||||||
NAME: ccov
|
NAME: ccov
|
||||||
TARGET_CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="--coverage"
|
TARGET_CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="--coverage"
|
||||||
CXXFLAGS: >-
|
CXXFLAGS: >-
|
||||||
-Werror -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wno-redundant-decls
|
-Werror -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith
|
||||||
-Wno-unused-parameter -Wno-unused-function -Wno-deprecated-copy -Wno-unused-but-set-parameter
|
-Wno-unused-parameter -Wno-unused-function -Wno-deprecated-copy -Wno-unused-but-set-parameter
|
||||||
- IMAGE: rolling-source
|
- IMAGE: rolling-source
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
CLANG_TIDY: true
|
CLANG_TIDY: true
|
||||||
CXXFLAGS: >-
|
CXXFLAGS: >-
|
||||||
-Werror -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wno-redundant-decls
|
-Werror -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith
|
||||||
-Wno-unused-parameter -Wno-unused-function -Wno-deprecated-copy
|
-Wno-unused-parameter -Wno-unused-function -Wno-deprecated-copy
|
||||||
# Add fast_unwind_on_malloc=0 to fix stacktraces being too short or do not make sense
|
# Add fast_unwind_on_malloc=0 to fix stacktraces being too short or do not make sense
|
||||||
# see https://github.com/google/sanitizers/wiki/AddressSanitizer
|
# see https://github.com/google/sanitizers/wiki/AddressSanitizer
|
||||||
|
|||||||
5
.github/workflows/format.yaml
vendored
5
.github/workflows/format.yaml
vendored
@ -13,11 +13,10 @@ jobs:
|
|||||||
name: pre-commit
|
name: pre-commit
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v2
|
|
||||||
- name: Install clang-format-12
|
- name: Install clang-format-12
|
||||||
run: sudo apt-get install clang-format-12
|
run: sudo apt-get install clang-format-12
|
||||||
- uses: pre-commit/action@v2.0.0
|
- uses: pre-commit/action@v3.0.0
|
||||||
id: precommit
|
id: precommit
|
||||||
- name: Upload pre-commit changes
|
- name: Upload pre-commit changes
|
||||||
if: failure() && steps.precommit.outcome == 'failure'
|
if: failure() && steps.precommit.outcome == 'failure'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user