mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix ccache for alpine and msan
Declare CC/CXX through the ccache action. Closes GH-21286
This commit is contained in:
10
.github/actions/ccache/action.yml
vendored
10
.github/actions/ccache/action.yml
vendored
@@ -5,6 +5,12 @@ inputs:
|
||||
php_directory:
|
||||
required: false
|
||||
default: '.'
|
||||
cc:
|
||||
required: false
|
||||
default: 'gcc'
|
||||
cxx:
|
||||
required: false
|
||||
default: 'g++'
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
@@ -29,5 +35,5 @@ runs:
|
||||
- name: Export CC/CXX
|
||||
shell: bash
|
||||
run: |
|
||||
echo "CC=ccache gcc" >> $GITHUB_ENV
|
||||
echo "CXX=ccache g++" >> $GITHUB_ENV
|
||||
echo "CC=ccache ${{ inputs.cc }}" >> $GITHUB_ENV
|
||||
echo "CXX=ccache ${{ inputs.cxx }}" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user