Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/actions/freebsd/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
with:
release: '13.5'
usesh: true
copyback: false
copyback: true
# Temporarily disable sqlite, as FreeBSD ships it with disabled double quotes. We'll need to fix our tests.
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269889
prepare: |
Expand All @@ -24,6 +24,7 @@ runs:

kldload accf_http
pkg install -y \
ccache \
autoconf \
bison \
gmake \
Expand All @@ -49,8 +50,13 @@ runs:
curl \
$OPCACHE_TLS_TESTS_DEPS

export CCACHE_DIR=$GITHUB_WORKSPACE/.ccache
ccache --set-config=max_size=256M
ccache --set-config=compression=true
ccache -z

./buildconf -f
CC=clang CXX=clang++ \
CC="ccache clang" CXX="ccache clang++" \
./configure \
--prefix=/usr/local \
--enable-debug \
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -407,5 +407,13 @@ jobs:
steps:
- name: git checkout
uses: actions/checkout@v6
- name: Restore ccache
uses: actions/cache@v4
with:
path: .ccache
key: "${{github.job}}-${{hashFiles('main/php_version.h')}}-${{github.sha}}"
restore-keys: |
${{github.job}}-${{hashFiles('main/php_version.h')}}-
${{github.job}}-
- name: FreeBSD
uses: ./.github/actions/freebsd
Loading