@@ -173,6 +173,13 @@ jobs:
173173 - run : rustup target add ${{ matrix.other }}
174174 - run : rustup component add rustc-dev llvm-tools-preview rust-docs
175175 if : startsWith(matrix.rust, 'nightly')
176+ # Install fish, zsh, and elvish only on Ubuntu systems
177+ - name : Install fish, zsh, and elvish on Ubuntu
178+ run : sudo apt update -y && sudo apt install fish zsh elvish -y
179+ if : matrix.os == 'ubuntu-latest'
180+ - name : Install fish, elvish on macOS
181+ run : brew install fish elvish
182+ if : matrix.os == 'macos-14' || matrix.os == 'macos-13'
176183 - run : sudo apt update -y && sudo apt install lldb gcc-multilib libsecret-1-0 libsecret-1-dev -y
177184 if : matrix.os == 'ubuntu-latest'
178185 - run : rustup component add rustfmt || echo "rustfmt not available"
@@ -227,6 +234,7 @@ jobs:
227234 - run : rustup update --no-self-update stable && rustup default stable
228235 - run : rustup target add i686-unknown-linux-gnu
229236 - run : sudo apt update -y && sudo apt install gcc-multilib libsecret-1-0 libsecret-1-dev -y
237+ - run : sudo apt update -y && sudo apt install fish zsh elvish -y
230238 - run : rustup component add rustfmt || echo "rustfmt not available"
231239 - run : cargo test -p cargo
232240 env :
0 commit comments