Merge pull request #24 from indexdata/DEVOPS-2662-upgrade-actions #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build phpyaz | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: update packages | |
run: sudo apt update | |
- name: Install required and optional dependencies | |
run: > | |
sudo apt install php8.1-dev gcc make pkg-config libyaz-dev | |
- name: Run phpize for phpyaz | |
run: phpize | |
- name: Run configure for phpyaz | |
run: > | |
./configure | |
- name: Run make test for phpyaz | |
run: NO_INTERACTION=1 make test |