commit 481885d88aba98e633406367e8775c1f3b821334
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2026-05-29T23:14:21Z |
| subject | Fixed github workflows |
commit 481885d88aba98e633406367e8775c1f3b821334
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2026-05-29T23:14:21Z
Fixed github workflows
---
.github/workflows/cmake-multi-platform.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml
index 0218f3e..a50c1d8 100644
--- a/.github/workflows/cmake-multi-platform.yml
+++ b/.github/workflows/cmake-multi-platform.yml
@@ -45,7 +45,7 @@ jobs:
mkdir -p dist/debug dist/prod
- make clean all CFLAGS="-Og -g3 -Wall -Wextra -Wpedantic" LDFLAGS="" STATIC=1
+ make clean all STATIC=1 CFLAGS="-Og -g3 -Wall -Wextra -Wpedantic"
cp bin/tinyproxy dist/debug/tinyproxy
make clean all STATIC=1
@@ -147,8 +147,8 @@ jobs:
- name: Install deps
run: |
- brew update
- brew install libevent haproxy
+ brew list libevent >/dev/null 2>&1 || brew install libevent
+ brew list haproxy >/dev/null 2>&1 || brew install haproxy
- name: Build
run: |