Skip to content

Commit bb032ed

Browse files
committed
ci: Use GitHub Actions' env instead of command-line variables
1 parent 9924833 commit bb032ed

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ jobs:
109109
defaults:
110110
run:
111111
shell: bash
112+
env:
113+
CFLAGS: "-Wall -Werror"
112114
steps:
113115
- name: Checkout
114116
uses: actions/checkout@v4
@@ -118,7 +120,7 @@ jobs:
118120
for module in advertise/ mod_proxy_cluster/ balancers/ mod_manager/; do \
119121
cd $module; \
120122
sh buildconf; \
121-
./configure CFLAGS="-Wall -Werror" --with-apxs=/usr/local/apache2/bin/apxs; \
123+
./configure --with-apxs=/usr/local/apache2/bin/apxs; \
122124
make clean; \
123125
make || exit 1; \
124126
cd ..; \
@@ -158,13 +160,15 @@ jobs:
158160
sudo make
159161
sudo make install
160162
- name: Build mod_proxy_cluster and add it to httpd
163+
env:
164+
CFLAGS: "-Wall -Werror"
161165
run: |
162166
ls
163167
cd mod_proxy_cluster/native
164168
for module in advertise/ mod_proxy_cluster/ balancers/ mod_manager/; do \
165169
cd $module; \
166170
sh buildconf; \
167-
./configure CFLAGS="-Wall -Werror" --with-apxs=/usr/local/apache2/bin/apxs; \
171+
./configure --with-apxs=/usr/local/apache2/bin/apxs; \
168172
make clean; \
169173
make || exit 1; \
170174
sudo cp *.so /usr/local/apache2/modules; \

0 commit comments

Comments
 (0)