Skip to content

Commit

Permalink
Avoid Readline installation on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dr8co committed Jun 13, 2024
1 parent dfa83d9 commit badf82c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=TRUE
brew update
brew install gcc readline ninja cmake git
brew install gcc ninja cmake git
brew reinstall llvm
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="/opt/homebrew/opt/gcc/bin:$PATH"' >> ~/.bash_profile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cpack-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=TRUE
brew update
brew install gcc readline ninja cmake git
brew install gcc ninja cmake git
brew reinstall llvm
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.bash_profile
echo 'export PATH="/opt/homebrew/opt/gcc/bin:$PATH"' >> ~/.bash_profile
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function install_dependencies() {
# add-apt-repository -y ppa:ubuntu-toolchain-r/ppa
apt update
export NEEDRESTART_SUSPEND=1
apt install -y wget unzip gcc-14 g++-14 clang-18 lldb-18 lld-18 libc++-18-dev libc++abi-18-dev libllvmlibc-18-dev clang-tools-18 libgcrypt20-dev openssl libreadline8 libreadline-dev libsodium23 libsodium-dev
apt install -y wget unzip gcc-14 g++-14 clang-18 lldb-18 lld-18 libc++-18-dev libc++abi-18-dev libllvmlibc-18-dev clang-tools-18 libgcrypt20-dev openssl libsodium23 libsodium-dev

# Install CMake 3.29.3
if dpkg -s "cmake" >/dev/null 2>&1; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/prepare-qodana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ build_install_gcc_14

# Install dependencies
apt remove -y --purge --auto-remove llvm-16-dev clang-16 clang-tidy-16 clang-format-16 lld-16 libc++-16-dev libc++abi-16-dev
apt update && apt install -y software-properties-common wget unzip build-essential openssl libreadline8 libreadline-dev libsodium23 libsodium-dev libgcrypt20-dev
apt update && apt install -y software-properties-common wget unzip build-essential openssl libsodium23 libsodium-dev libgcrypt20-dev
wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
add-apt-repository -y "deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-18 main"
apt update
Expand Down

0 comments on commit badf82c

Please sign in to comment.