Browse Source

CI: correct bash string eq test

gps-1.3.1
Pierre Kancir 4 years ago committed by Andrew Tridgell
parent
commit
835a8c7fed
  1. 2
      .github/workflows/test_chibios.yml
  2. 2
      .github/workflows/test_coverage.yml
  3. 2
      .github/workflows/test_linux_sbc.yml
  4. 2
      .github/workflows/test_replay.yml
  5. 2
      .github/workflows/test_sitl_copter.yml
  6. 2
      .github/workflows/test_sitl_plane.yml
  7. 2
      .github/workflows/test_sitl_rover.yml
  8. 2
      .github/workflows/test_sitl_sub.yml
  9. 2
      .github/workflows/test_sitl_tracker.yml
  10. 2
      .github/workflows/test_unit_tests.yml

2
.github/workflows/test_chibios.yml

@ -65,7 +65,7 @@ jobs: @@ -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

2
.github/workflows/test_coverage.yml

@ -73,7 +73,7 @@ jobs: @@ -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

2
.github/workflows/test_linux_sbc.yml

@ -59,7 +59,7 @@ jobs: @@ -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

2
.github/workflows/test_replay.yml

@ -53,7 +53,7 @@ jobs: @@ -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

2
.github/workflows/test_sitl_copter.yml

@ -48,7 +48,7 @@ jobs: @@ -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

2
.github/workflows/test_sitl_plane.yml

@ -48,7 +48,7 @@ jobs: @@ -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

2
.github/workflows/test_sitl_rover.yml

@ -48,7 +48,7 @@ jobs: @@ -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

2
.github/workflows/test_sitl_sub.yml

@ -48,7 +48,7 @@ jobs: @@ -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

2
.github/workflows/test_sitl_tracker.yml

@ -48,7 +48,7 @@ jobs: @@ -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

2
.github/workflows/test_unit_tests.yml

@ -57,7 +57,7 @@ jobs: @@ -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…
Cancel
Save