Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Aug 7, 2024
1 parent de47916 commit 27083bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/sanitizers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
id: cache-php
uses: actions/cache@v4
with:
path: php/target/
path: php/
key: php-sanitizers-${{ runner.arch }}-${{ steps.determine-php-version.outputs.version }}
-
if: steps.cache-php.outputs.cache-hit != 'true'
Expand All @@ -65,18 +65,18 @@ jobs:
--disable-cli \
--disable-cgi \
--disable-phpdbg \
--prefix="$(pwd)/target/"
#--prefix="$(pwd)/target/"
make -j"$(getconf _NPROCESSORS_ONLN)"
make install
sudo make install
-
name: Add PHP to the PATH
run: |
echo "$(pwd)/php/target/bin" >> "$GITHUB_PATH"
#echo "$(pwd)/php/target/bin" >> "$GITHUB_PATH"
-
name: Set CGO flags
run: |
{
echo "LIBRARY_PATH=$LIBRARY_PATH:$(pwd)/php/target/lib"
#echo "LIBRARY_PATH=$LIBRARY_PATH:$(pwd)/php/target/lib"
# https://github.com/google/sanitizers/wiki/AddressSanitizerAsDso
#echo "LD_PRELOAD=$(clang -print-file-name=libclang_rt.asan-x86_64.so)"
echo "CGO_CFLAGS=$CFLAGS $(php-config --includes)"
Expand Down

0 comments on commit 27083bb

Please sign in to comment.