Skip to content

Commit

Permalink
.github: use clang/clang++ instead of clang-7/clang++-7
Browse files Browse the repository at this point in the history
this prevent failures on build_ci.sh
  • Loading branch information
khancyr authored and peterbarker committed Oct 1, 2021
1 parent 920ccb0 commit 28a2c1b
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_chibios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
shell: bash
run: |
if [[ ${{ matrix.toolchain }} == "chibios-clang" ]]; then
export CC=clang-7
export CXX=clang++-7
export CC=clang
export CXX=clang++
fi
PATH="/usr/lib/ccache:/opt/gcc-arm-none-eabi-${{matrix.gcc}}/bin:$PATH"
PATH="/github/home/.local/bin:$PATH"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_linux_sbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
shell: bash
run: |
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
export CC=clang
export CXX=clang++
fi
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_replay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
shell: bash
run: |
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
export CC=clang
export CXX=clang++
fi
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_copter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
shell: bash
run: |
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
export CC=clang
export CXX=clang++
fi
PATH="/github/home/.local/bin:$PATH"
./waf configure --board sitl
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_plane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
shell: bash
run: |
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
export CC=clang
export CXX=clang++
fi
PATH="/github/home/.local/bin:$PATH"
./waf configure --board sitl
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_rover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
shell: bash
run: |
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
export CC=clang
export CXX=clang++
fi
PATH="/github/home/.local/bin:$PATH"
./waf configure --board sitl
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_sub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
shell: bash
run: |
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
export CC=clang
export CXX=clang++
fi
PATH="/github/home/.local/bin:$PATH"
./waf configure --board sitl
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
shell: bash
run: |
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
export CC=clang
export CXX=clang++
fi
PATH="/github/home/.local/bin:$PATH"
./waf configure --board sitl
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
shell: 'script -q -e -c "bash {0}"'
run: |
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
export CC=clang
export CXX=clang++
fi
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh
Expand Down

0 comments on commit 28a2c1b

Please sign in to comment.