Skip to content

Commit

Permalink
.github: use problem matches on Rover, Copter and Sub SITL
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Jul 4, 2024
1 parent 6ce7e17 commit c112d8d
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test_sitl_copter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down Expand Up @@ -227,6 +228,19 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"

- name: Register python problem matcher
run: echo "::add-matcher::.github/problem-matchers/python.json"

- name: Register autotest warn matcher
run: echo "::add-matcher::.github/problem-matchers/autotestwarn.json"

- name: Register autotest fail matcher
run: echo "::add-matcher::.github/problem-matchers/autotestfail.json"

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/test_sitl_rover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,19 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"

- name: Register python problem matcher
run: echo "::add-matcher::.github/problem-matchers/python.json"

- name: Register autotest warn matcher
run: echo "::add-matcher::.github/problem-matchers/autotestwarn.json"

- name: Register autotest fail matcher
run: echo "::add-matcher::.github/problem-matchers/autotestfail.json"

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/test_sitl_sub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down Expand Up @@ -224,6 +225,19 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Register gcc problem matcher
run: echo "::add-matcher::.github/problem-matchers/gcc.json"

- name: Register python problem matcher
run: echo "::add-matcher::.github/problem-matchers/python.json"

- name: Register autotest warn matcher
run: echo "::add-matcher::.github/problem-matchers/autotestwarn.json"

- name: Register autotest fail matcher
run: echo "::add-matcher::.github/problem-matchers/autotestfail.json"

# Put ccache into github cache for faster build
- name: Prepare ccache timestamp
id: ccache_cache_timestamp
Expand Down

0 comments on commit c112d8d

Please sign in to comment.