-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit f309b05.
- Loading branch information
Showing
1 changed file
with
0 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -191,68 +191,6 @@ jobs: | |
runTestsParameters: >- | ||
-d zend_extension=opcache.so | ||
-d opcache.enable_cli=1 | ||
ALPINE: | ||
if: github.repository == 'php/php-src' || github.event_name == 'pull_request' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- debug: true | ||
zts: true | ||
asan: false | ||
name: "ALPINE_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}" | ||
runs-on: ubuntu-22.04 | ||
container: | ||
image: 'alpine:3.20.1' | ||
steps: | ||
- name: git checkout | ||
uses: actions/checkout@v4 | ||
- name: apk | ||
uses: ./.github/actions/apk | ||
- name: LLVM 17 (ASAN-only) | ||
if: ${{ matrix.asan }} | ||
# libclang_rt.asan-x86_64.a is provided by compiler-rt, and only for clang17: | ||
# https://pkgs.alpinelinux.org/contents?file=libclang_rt.asan-x86_64.a&path=&name=&branch=v3.20 | ||
run: | | ||
apk add clang17 compiler-rt | ||
- name: System info | ||
run: | | ||
echo "::group::Show host CPU info" | ||
lscpu | ||
echo "::endgroup::" | ||
echo "::group::Show installed package versions" | ||
apk list | ||
echo "::endgroup::" | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
# This duplicates the "job.name" expression above because | ||
# GitHub has no way to query the job name (github.job is the | ||
# job id, not the job name) | ||
key: "ALPINE_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}${{ matrix.asan && '_ASAN' || '' }}-${{hashFiles('main/php_version.h')}}" | ||
append-timestamp: false | ||
save: ${{ github.event_name != 'pull_request' }} | ||
- name: ./configure | ||
uses: ./.github/actions/configure-alpine | ||
with: | ||
# -Wno-error=stringop-overread: main/getopt.c: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114622 | ||
configurationParameters: >- | ||
--${{ matrix.debug && 'enable' || 'disable' }}-debug | ||
--${{ matrix.zts && 'enable' || 'disable' }}-zts | ||
${{ matrix.asan && 'CFLAGS="-fsanitize=undefined,address -fno-sanitize=function -DZEND_TRACK_ARENA_ALLOC" LDFLAGS="-fsanitize=undefined,address -fno-sanitize=function" CC=clang-17 CXX=clang++-17' || 'CFLAGS="-Wno-error=stringop-overread"' }} | ||
skipSlow: ${{ matrix.asan }} | ||
- name: make | ||
run: make -j$(/usr/bin/nproc) >/dev/null | ||
- name: make install | ||
uses: ./.github/actions/install-alpine | ||
- name: Test Tracing JIT | ||
uses: ./.github/actions/test-alpine | ||
with: | ||
jitType: tracing | ||
runTestsParameters: >- | ||
-d zend_extension=opcache.so | ||
-d opcache.enable_cli=1 | ||
${{ matrix.asan && '--asan -x' || '' }} | ||
MACOS_DEBUG_NTS: | ||
if: github.repository == 'php/php-src' || github.event_name == 'pull_request' | ||
strategy: | ||
|