Skip to content

Commit 85a1397

Browse files
committed
chore: wip
1 parent 0f345b1 commit 85a1397

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/precompile-php.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,9 @@ jobs:
311311
export GETTEXT_CFLAGS="-I$(brew --prefix gettext)/include"
312312
export GETTEXT_LIBS="-L$(brew --prefix gettext)/lib -lintl"
313313
314+
# Set C++17 flag for ICU4C compatibility
315+
export CXXFLAGS="$CXXFLAGS -std=c++17"
316+
314317
# Try to find readline.h and set the path explicitly
315318
READLINE_PATH=$(brew --prefix readline)
316319
if [[ -f "$READLINE_PATH/include/readline/readline.h" ]]; then
@@ -322,6 +325,7 @@ jobs:
322325
fi
323326
324327
# Check if PostgreSQL is available and working
328+
echo "Debug: POSTGRESQL_AVAILABLE=$POSTGRESQL_AVAILABLE"
325329
if [[ "$POSTGRESQL_AVAILABLE" == "true" ]]; then
326330
echo "PostgreSQL found and working"
327331
else
@@ -440,7 +444,7 @@ jobs:
440444
retention-days: 90
441445

442446
- name: Upload to GitHub Container Registry
443-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
447+
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.platform == 'linux'
444448
run: |
445449
echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ env.REGISTRY_URL }} -u ${{ env.REGISTRY_USERNAME }} --password-stdin
446450

0 commit comments

Comments
 (0)