Skip to content

Commit 5447a7a

Browse files
authored
add compile from sources fallback to unsupported OS message (#1939)
* add compile from sources fallback to unsupported OS message * rewrite message to indicate general support, but no precompiled binaries * add logs to build-static
1 parent 1270784 commit 5447a7a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/static.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,12 @@ jobs:
419419
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
420420
RELEASE: ${{ (needs.prepare.outputs.ref || github.ref_type == 'tag') && '1' || '' }}
421421
NO_COMPRESS: ${{ github.event_name == 'pull_request' && '1' || '' }}
422+
- name: Upload logs
423+
if: ${{ failure() }}
424+
uses: actions/upload-artifact@v4
425+
with:
426+
path: dist/static-php-cli/log
427+
name: static-php-cli-log-${{ matrix.platform }}-${{ github.sha }}
422428
- if: needs.prepare.outputs.ref || github.ref_type == 'tag'
423429
uses: actions/attest-build-provenance@v3
424430
with:

install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ Windows | MINGW64_NT*)
5858
esac
5959

6060
if [ -z "${THE_ARCH_BIN}" ]; then
61-
echo "❗ FrankenPHP is not supported on ${OS} and ${ARCH}"
61+
echo "❗ Precompiled binaries are not available for ${ARCH}-${OS}"
62+
echo "❗ You can compile from sources by following the documentation at: https://frankenphp.dev/docs/compile/"
6263
exit 1
6364
fi
6465

0 commit comments

Comments
 (0)