Skip to content

Bump shivammathur/setup-php from 2.35.3 to 2.36.0 #42

Bump shivammathur/setup-php from 2.35.3 to 2.36.0

Bump shivammathur/setup-php from 2.35.3 to 2.36.0 #42

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
run:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
# arch: ["armv6", "armv7", "aarch64", "amd64"]
php: ["8.0", "8.1", "8.2", "8.3", "8.4"]
type: ["ts", "nts"]
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libi2c-dev -y
- name: Setup PHP
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: none
tools: none
env:
phpts: ${{ matrix.type }}
update: true
- name: Prepare for build
run: phpize && ./configure
- name: Build ext-i2c
run: make
- name: Run test suite
run: make test
env:
NO_INTERACTION: 1