-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Showing
4 changed files
with
42 additions
and
44 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 |
---|---|---|
|
@@ -11,23 +11,18 @@ on: | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/px4/px4-dev:pr-24039 | ||
container: px4io/px4-dev-clang:2021-09-08 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Git ownership workaround | ||
run: git config --system --add safe.directory '*' | ||
|
||
- name: Install missing deps | ||
run: apt-get --quiet -y update && DEBIAN_FRONTEND=noninteractive apt-get --quiet -y install clang | ||
|
||
- uses: corrupt952/[email protected] | ||
- name: Build Tidy | ||
uses: addnab/docker-run-action@v3 | ||
with: | ||
command: make clang-tidy-quiet | ||
max_attempts: 3 | ||
|
||
- name: Setup tmate session | ||
if: ${{ failure() }} | ||
uses: mxschmitt/action-tmate@v3 | ||
image: px4io/px4-dev-nuttx-focal:2022-08-12 | ||
options: -v ${{ github.workspace }}:/workspace | ||
run: | | ||
cd /workspace | ||
git config --global --add safe.directory /workspace | ||
make clang-tidy-quiet |
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ on: push | |
jobs: | ||
unit_tests: | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/px4/px4-dev:1.16.0-alpha2 | ||
# container: ghcr.io/px4/px4-dev:1.16.0-alpha2 | ||
env: | ||
GIT_COMMITTER_EMAIL: [email protected] | ||
GIT_COMMITTER_NAME: PX4BuildBot | ||
|
@@ -14,11 +14,15 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Git ownership workaround | ||
run: git config --system --add safe.directory '*' | ||
|
||
- name: main test updates change indication files | ||
run: make tests TESTFILTER=EKF | ||
- name: main test | ||
uses: addnab/docker-run-action@v3 | ||
with: | ||
image: px4io/px4-dev-base-focal:2021-09-08 | ||
options: -v ${{ github.workspace }}:/workspace | ||
run: | | ||
cd /workspace | ||
git config --global --add safe.directory /workspace | ||
make tests TESTFILTER=EKF | ||
- name: Check if there exists diff and save result in variable | ||
run: echo "CHANGE_INDICATED=$(git diff --exit-code --output=/dev/null || echo $?)" >> $GITHUB_ENV | ||
|
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