Skip to content

Bump actions/checkout from 5.0.0 to 6.0.1 #44

Bump actions/checkout from 5.0.0 to 6.0.1

Bump actions/checkout from 5.0.0 to 6.0.1 #44

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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libi2c-dev -y
- name: Setup PHP
uses: shivammathur/setup-php@20529878ed81ef8e78ddf08b480401e6101a850f # v2.35.3
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