mirror of https://github.com/ArduPilot/ardupilot
CI: correct bash string eq test
This commit is contained in:
parent
5e5452cf73
commit
835a8c7fed
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue