From ae264c91430aa9c3762fdce38da45f92a6534783 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 23 Aug 2022 11:20:35 +0100 Subject: [PATCH] CI: Install newer Bash via homebrew on macOS The recently added generate-emoji-txt.sh script uses a Bash 4 substitution feature, causing CI to fail as macOS ships an ancient Bash 3.x. We'll want to use a more recent version anyway, so let's do that instead of updading the script to older syntax. --- Meta/Azure/Setup.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Meta/Azure/Setup.yml b/Meta/Azure/Setup.yml index 46c8022ee1..53d12d4354 100644 --- a/Meta/Azure/Setup.yml +++ b/Meta/Azure/Setup.yml @@ -32,8 +32,9 @@ steps: displayName: 'Install Dependencies' - ${{ if eq(parameters.os, 'macOS') }}: + # macOS ships an ancient Bash 3.x by default - script: | - brew install ninja wabt ccache unzip + brew install bash ninja wabt ccache unzip displayName: 'Install Dependencies' - ${{ if eq(parameters.os, 'Android') }}: