-
-
Notifications
You must be signed in to change notification settings - Fork 98
42 lines (39 loc) · 1.21 KB
/
Copy pathasan.yml
File metadata and controls
42 lines (39 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: ASAN
permissions:
contents: read
pull-requests: read
on:
pull_request: null
push:
branches:
- master
- develop
- release
schedule:
- cron: "30 4 * * *"
jobs:
test:
strategy:
fail-fast: false
matrix:
version: ["8.1", "8.2", "8.3", "8.4", "8.5"]
mode:
- name: vanilla
args: ""
- name: opcache
args: -d opcache.enable_cli=1 -d opcache.jit=disable
- name: jit
args: -d opcache.enable_cli=1 -d opcache.jit=function -d opcache.jit_buffer_size=32M
runs-on: ubuntu-latest
name: ASAN, PHP v${{matrix.version}}, ${{matrix.mode.name}}
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Login to GitHub Container Registry
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Test parallel
run: PHP_BUILD=asan PHP_VERSION=${{matrix.version}} docker compose run --rm parallel docker/parallel.test ${{matrix.mode.args}} --asan