mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-03-01 15:10:43 +00:00
Make Android CI Pipeline fail correctly
Only execute the steps when succeeded()
This commit is contained in:
parent
56fd559860
commit
056e29ea59
1 changed files with 8 additions and 8 deletions
|
@ -184,19 +184,19 @@ jobs:
|
|||
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
|
||||
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main'
|
||||
displayName: 'Use recent CMake Version'
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
condition: and(succeeded(), ne(variables.CACHE_RESTORED, 'true'))
|
||||
enabled: 'false'
|
||||
|
||||
- script: |
|
||||
sudo apt-get update -y
|
||||
displayName: 'Update apt'
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
condition: and(succeeded(), ne(variables.CACHE_RESTORED, 'true'))
|
||||
|
||||
- script: |
|
||||
set -ex
|
||||
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install gettext cmake zlib1g-dev autogen automake autoconf libtool pkg-config autotools-dev build-essential meson ninja-build
|
||||
displayName: 'apt-get install'
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
condition: and(succeeded(), ne(variables.CACHE_RESTORED, 'true'))
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
|
@ -260,7 +260,7 @@ jobs:
|
|||
|
||||
displayName: 'Compile libiconv'
|
||||
workingDirectory: $(DEV)
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
condition: and(succeeded(), ne(variables.CACHE_RESTORED, 'true'))
|
||||
|
||||
- script: |
|
||||
set -ex
|
||||
|
@ -276,7 +276,7 @@ jobs:
|
|||
popd
|
||||
displayName: 'Compile libffi'
|
||||
workingDirectory: $(DEV)
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
condition: and(succeeded(), ne(variables.CACHE_RESTORED, 'true'))
|
||||
|
||||
- script: |
|
||||
set -ex
|
||||
|
@ -400,7 +400,7 @@ jobs:
|
|||
popd
|
||||
displayName: 'Compile gettext'
|
||||
workingDirectory: $(DEV)
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
condition: and(succeeded(), ne(variables.CACHE_RESTORED, 'true'))
|
||||
|
||||
- script: |
|
||||
set -ex
|
||||
|
@ -463,7 +463,7 @@ jobs:
|
|||
popd
|
||||
displayName: 'Compile glib'
|
||||
workingDirectory: $(DEV)
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
condition: and(succeeded(), ne(variables.CACHE_RESTORED, 'true'))
|
||||
|
||||
- template: cmake-android.yml
|
||||
parameters:
|
||||
|
@ -559,7 +559,7 @@ jobs:
|
|||
|
||||
displayName: 'Create fake oboe.pc'
|
||||
workingDirectory: $(DEV)
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
condition: and(succeeded(), ne(variables.CACHE_RESTORED, 'true'))
|
||||
|
||||
- template: cmake-android.yml
|
||||
parameters:
|
||||
|
|
Loading…
Reference in a new issue