Skip to content
Draft
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
43 changes: 43 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ on:
type: boolean
permissions:
contents: read
env:
CC: ccache gcc
CXX: ccache g++
jobs:
LINUX_PPC64:
if: inputs.run_linux_ppc64
Expand Down Expand Up @@ -216,6 +219,11 @@ jobs:
echo "::group::Show installed package versions"
dpkg -l
echo "::endgroup::"
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "LINUX_X64${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
- name: ./configure
uses: ./.github/actions/configure-x64
with:
Expand Down Expand Up @@ -307,6 +315,11 @@ jobs:
echo "::group::Show installed package versions"
dpkg -l
echo "::endgroup::"
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "LINUX_X32_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
- name: ./configure
uses: ./.github/actions/configure-x32
with:
Expand Down Expand Up @@ -365,6 +378,11 @@ jobs:
- name: brew
timeout-minutes: 10
uses: ./.github/actions/brew
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "MACOS_${{ matrix.arch }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
- name: ./configure
uses: ./.github/actions/configure-macos
with:
Expand Down Expand Up @@ -439,6 +457,11 @@ jobs:
uses: ./.github/actions/apt-x64
- name: Install gcovr
run: sudo -H pip install gcovr
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "${{github.job}}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
- name: ./configure
uses: ./.github/actions/configure-x64
with:
Expand Down Expand Up @@ -483,6 +506,11 @@ jobs:
ref: ${{ inputs.branch }}
- name: apt
uses: ./.github/actions/apt-x64
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "${{github.job}}_${{ matrix.type }}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
- name: ./configure
uses: ./.github/actions/configure-x64
with:
Expand Down Expand Up @@ -684,6 +712,11 @@ jobs:
uses: ./.github/actions/setup-mssql
- name: apt
uses: ./.github/actions/apt-x64
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "${{github.job}}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
- name: ./configure
uses: ./.github/actions/configure-x64
with:
Expand Down Expand Up @@ -740,6 +773,11 @@ jobs:
ref: ${{ inputs.branch }}
- name: apt
uses: ./.github/actions/apt-x64
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "${{github.job}}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
- name: ./configure
run: |
export CC=clang
Expand Down Expand Up @@ -828,6 +866,11 @@ jobs:
run: |
sudo apt-get update -y | true
sudo apt install bison re2c
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "${{github.job}}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
- name: Setup
run: |
sudo service mysql start
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ name: Nightly
on:
schedule:
- cron: "0 1 * * *"
pull_request: ~
workflow_dispatch: ~
permissions:
contents: read
jobs:
GENERATE_MATRIX:
name: Generate Matrix
if: github.repository == 'php/php-src' || github.event_name == 'workflow_dispatch'
if: true
runs-on: ubuntu-latest
outputs:
branches: ${{ steps.set-matrix.outputs.branches }}
Expand Down
Loading