diff --git a/.github/workflows/test_chibios.yml b/.github/workflows/test_chibios.yml index fc9b547922..1d53afb2aa 100644 --- a/.github/workflows/test_chibios.yml +++ b/.github/workflows/test_chibios.yml @@ -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 diff --git a/.github/workflows/test_coverage.yml b/.github/workflows/test_coverage.yml index 1dc3842620..e191f6d67e 100644 --- a/.github/workflows/test_coverage.yml +++ b/.github/workflows/test_coverage.yml @@ -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 diff --git a/.github/workflows/test_linux_sbc.yml b/.github/workflows/test_linux_sbc.yml index 94c05700d4..13d24620fa 100644 --- a/.github/workflows/test_linux_sbc.yml +++ b/.github/workflows/test_linux_sbc.yml @@ -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 diff --git a/.github/workflows/test_replay.yml b/.github/workflows/test_replay.yml index 794eb35e31..2eb4f6e721 100644 --- a/.github/workflows/test_replay.yml +++ b/.github/workflows/test_replay.yml @@ -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 diff --git a/.github/workflows/test_sitl_copter.yml b/.github/workflows/test_sitl_copter.yml index 2b3244b8c5..c215917824 100644 --- a/.github/workflows/test_sitl_copter.yml +++ b/.github/workflows/test_sitl_copter.yml @@ -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 diff --git a/.github/workflows/test_sitl_plane.yml b/.github/workflows/test_sitl_plane.yml index 01055497c4..059e62dc2f 100644 --- a/.github/workflows/test_sitl_plane.yml +++ b/.github/workflows/test_sitl_plane.yml @@ -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 diff --git a/.github/workflows/test_sitl_rover.yml b/.github/workflows/test_sitl_rover.yml index 9bfac55641..e89ffcf52d 100644 --- a/.github/workflows/test_sitl_rover.yml +++ b/.github/workflows/test_sitl_rover.yml @@ -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 diff --git a/.github/workflows/test_sitl_sub.yml b/.github/workflows/test_sitl_sub.yml index 936d1aca58..aad353c998 100644 --- a/.github/workflows/test_sitl_sub.yml +++ b/.github/workflows/test_sitl_sub.yml @@ -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 diff --git a/.github/workflows/test_sitl_tracker.yml b/.github/workflows/test_sitl_tracker.yml index 108750bb77..84b80e8ccf 100644 --- a/.github/workflows/test_sitl_tracker.yml +++ b/.github/workflows/test_sitl_tracker.yml @@ -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 diff --git a/.github/workflows/test_unit_tests.yml b/.github/workflows/test_unit_tests.yml index 7cc1f9fefd..05737cb87f 100644 --- a/.github/workflows/test_unit_tests.yml +++ b/.github/workflows/test_unit_tests.yml @@ -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