Skip to content

Commit

Permalink
fix(ci): fix ci to install curl headers files
Browse files Browse the repository at this point in the history
### Summary

Master is currently red because of #10595 (was green when merged),
this is a second attempt to fix it.

Signed-off-by: Aapo Talvensaari <aapo.talvensaari@gmail.com>
  • Loading branch information
bungle committed Mar 31, 2023
1 parent 0cee721 commit ae2baba
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autodocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

- name: Install packages
if: steps.cache-deps.outputs.cache-hit != 'true' || github.event.inputs.force_build == 'true'
run: sudo apt update && sudo apt install libyaml-dev valgrind
run: sudo apt update && sudo apt install libyaml-dev valgrind libcurl4-openssl-dev

- name: Build Kong dependencies
if: steps.cache-deps.outputs.cache-hit != 'true' || github.event.inputs.force_build == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Install packages
if: steps.cache-deps.outputs.cache-hit != 'true'
run: sudo apt update && sudo apt install libyaml-dev valgrind libprotobuf-dev
run: sudo apt update && sudo apt install libyaml-dev valgrind libprotobuf-dev libcurl4-openssl-dev

- name: Build OpenResty
if: steps.cache-deps.outputs.cache-hit != 'true'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ jobs:
curl \
file \
libyaml-dev \
libcurl4-openssl-dev \
m4 \
perl \
pkg-config \
Expand All @@ -196,6 +197,7 @@ jobs:
yum groupinstall -y 'Development Tools'
dnf config-manager --set-enabled powertools || true # enable devel packages on rockylinux:8
yum install -y libyaml-devel
yum install -y curl-devel
- name: Setup Amazon Linux
if: startsWith(matrix.label, 'amazonlinux')
Expand Down
3 changes: 3 additions & 0 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ sudo apt update \
file \
git \
libyaml-dev \
libcurl4-openssl-dev \
libprotobuf-dev \
m4 \
perl \
Expand All @@ -116,6 +117,7 @@ dnf install \
gcc-c++ \
git \
libyaml-devel \
curl-devel \
make \
patch \
perl \
Expand All @@ -135,6 +137,7 @@ xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Build dependencies
brew install libyaml
brew install curl
```

Finally, we start the build process:
Expand Down

0 comments on commit ae2baba

Please sign in to comment.