Skip to content

Commit

Permalink
CI: correct bash string eq test
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr authored and tridge committed Jun 30, 2021
1 parent 5e5452c commit 835a8c7
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_chibios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
CI_BUILD_TARGET: ${{matrix.config}}
shell: bash
run: |
if [[ ${{ matrix.toolchain }} = "chibios-clang" ]]; then
if [[ ${{ matrix.toolchain }} == "chibios-clang" ]]; then
export CC=clang-7
export CXX=clang++-7
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
python -m pip uninstall -y pymavlink
git submodule update --init --recursive
(cd modules/mavlink/pymavlink && DISABLE_MAVNATIVE=True MDEF="$PWD/../message_definitions" python -m pip install --user .)
if [[ ${{ matrix.config }} = "coverage" ]]; then
if [[ ${{ matrix.config }} == "coverage" ]]; then
Tools/scripts/run_coverage.py -f
else
Tools/scripts/run_coverage.py -i
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_linux_sbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
CI_BUILD_TARGET: ${{matrix.config}}
shell: bash
run: |
if [[ ${{ matrix.toolchain }} = ",clang" ]]; then
if [[ ${{ matrix.toolchain }} == ",clang" ]]; then
export CC=clang-7
export CXX=clang++-7
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_replay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
CI_BUILD_TARGET: ${{matrix.config}}
shell: bash
run: |
if [[ ${{ matrix.toolchain }} = "clang" ]]; then
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sitl_copter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: build copter ${{ matrix.toolchain }}
shell: bash
run: |
if [[ ${{ matrix.toolchain }} = "clang" ]]; then
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sitl_plane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: build plane ${{ matrix.toolchain }}
shell: bash
run: |
if [[ ${{ matrix.toolchain }} = "clang" ]]; then
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sitl_rover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: build rover ${{ matrix.toolchain }}
shell: bash
run: |
if [[ ${{ matrix.toolchain }} = "clang" ]]; then
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sitl_sub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: build sub ${{ matrix.toolchain }}
shell: bash
run: |
if [[ ${{ matrix.toolchain }} = "clang" ]]; then
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sitl_tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: build tracker ${{ matrix.toolchain }}
shell: bash
run: |
if [[ ${{ matrix.toolchain }} = "clang" ]]; then
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
CI_BUILD_TARGET: ${{matrix.config}}
shell: 'script -q -e -c "bash {0}"'
run: |
if [[ ${{ matrix.toolchain }} = "clang" ]]; then
if [[ ${{ matrix.toolchain }} == "clang" ]]; then
export CC=clang-7
export CXX=clang++-7
fi
Expand Down

0 comments on commit 835a8c7

Please sign in to comment.