-
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
17 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
run: git config --system --add safe.directory '*' | ||
|
||
- name: Install missing deps | ||
run: apt get update -y && apt install -y clang | ||
run: apt-get --quiet -y update && DEBIAN_FRONTEND=noninteractive apt-get --quiet -y install clang | ||
|
||
- uses: corrupt952/[email protected] | ||
with: | ||
|
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 |
---|---|---|
|
@@ -31,13 +31,19 @@ jobs: | |
options: --privileged --ulimit core=-1 --security-opt seccomp=unconfined | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Git ownership workaround | ||
run: git config --system --add safe.directory '*' | ||
|
||
- name: Prepare ccache timestamp | ||
id: ccache_cache_timestamp | ||
shell: cmake -P {0} | ||
run: | | ||
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) | ||
message("::set-output name=timestamp::${current_date}") | ||
- name: ccache cache files | ||
uses: actions/cache@v4 | ||
with: | ||
|
@@ -133,6 +139,7 @@ jobs: | |
git config --global url."https://github.com/".insteadof [email protected]: # credentials add credential | ||
mkdir -p coverage | ||
lcov --directory build/px4_sitl_default --base-directory build/px4_sitl_default --gcov-tool gcov --capture -o coverage/lcov.info | ||
- name: Upload coverage information to Codecov | ||
if: contains(matrix.config.build_type, 'Coverage') | ||
uses: codecov/codecov-action@v1 | ||
|
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 |
---|---|---|
|
@@ -26,6 +26,11 @@ jobs: | |
options: --privileged --ulimit core=-1 --security-opt seccomp=unconfined | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Git ownership workaround | ||
run: git config --system --add safe.directory '*' | ||
|
||
- name: Prepare ccache timestamp | ||
id: ccache_cache_timestamp | ||
|
@@ -129,6 +134,7 @@ jobs: | |
git config --global url."https://github.com/".insteadof [email protected]: # credentials add credential | ||
mkdir -p coverage | ||
lcov --directory build/px4_sitl_default --base-directory build/px4_sitl_default --gcov-tool gcov --capture -o coverage/lcov.info | ||
- name: Upload coverage information to Codecov | ||
if: contains(matrix.config.build_type, 'Coverage') | ||
uses: codecov/codecov-action@v1 | ||
|