Skip to content

build

build #90

Workflow file for this run

name: build
on:
push:
branches:
- 1.x
paths:
- 'src/**'
schedule:
- cron: '25 4 * * *'
pull_request:
workflow_dispatch:
jobs:
php-cli:
uses: ./.github/workflows/build-and-test-job.yml
with:
target: cli
tests: |
docker run ghcr.io/sitepilot/php-cli:build php -v
docker run ghcr.io/sitepilot/php-cli:build wp --version
docker run ghcr.io/sitepilot/php-cli:build composer --version
secrets: inherit
php-fpm:
uses: ./.github/workflows/build-and-test-job.yml
with:
target: fpm
tests: |
docker run ghcr.io/sitepilot/php-fpm:build php-fpm --version
secrets: inherit
php-nginx:
uses: ./.github/workflows/build-and-test-job.yml
with:
target: nginx
tests: |
docker run ghcr.io/sitepilot/php-nginx:build nginx -v
docker run ghcr.io/sitepilot/php-nginx:build nginx -t
secrets: inherit
php-ols:
uses: ./.github/workflows/build-and-test-job.yml
with:
target: ols
tests: |
docker run ghcr.io/sitepilot/php-ols:build php -v
docker run ghcr.io/sitepilot/php-ols:build wp --version
docker run ghcr.io/sitepilot/php-ols:build composer --version
docker run ghcr.io/sitepilot/php-ols:build /usr/local/lsws/bin/litespeed -v
secrets: inherit
php-ssh:
uses: ./.github/workflows/build-and-test-job.yml
with:
target: ssh
tests: |
docker run ghcr.io/sitepilot/php-ssh:build ssh -V
secrets: inherit