Skip to content

ci: buster

ci: buster #3

Workflow file for this run

name: Buster
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
container:
image: php:8.2-buster
steps:
- name: Prepare required command
run: |
apt-get update
apt-get install -y git
- name: adding github workspace as safe directory
run: git config --global --add safe.directory $GITHUB_WORKSPACE
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependency library
run: |
apt-get install -y libzstd-dev
- name: Build with library
run: |
phpize
./configure --with-libzstd
make
- name: Test
run: |
make test TESTS="--show-diff" | tee test-output.txt
grep 'TEST SUMMARY$' test-output.txt > /dev/null && exit 1 || exit 0
env:
REPORT_EXIT_STATUS: 1
NO_INTERACTION: 1
- name: Failure Test
run: |
for FILE in $(find ./tests -name '*.diff'); do
echo echo $FILE
cat $FILE
echo
done
if: ${{ failure() }}