Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ruff committed Sep 14, 2024
0 parents commit 9c09d00
Show file tree
Hide file tree
Showing 44 changed files with 4,103 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug Report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: horstoeko

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional information:**
- OS: [e.g. Windows/Limux/etc.]
- OS-Version [e.g. Windows10,Debian10,etc.]
- PHP-Version [e.g. PHP7.x,PHP8.x,etc.]

**Additional context**
Add any other context about the problem here.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature Request
about: Create a feature request
title: "[FEATURE]"
labels: enhancement
assignees: horstoeko

---

**Describe the feature**
A clear and concise description of what feature/improvement you like to have

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your feature request.

**Additional context**
Add any other context about the feature request here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Question
about: Ask a question
title: "[QUESTION]"
labels: question
assignees: horstoeko

---

**Your question**
A clear and concise question

**Screenshots**
If applicable, add screenshots to help explain your question.

**Additional context**
Add any other context about the question here.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Keep GitHub Actions up to date with GitHub's Dependabot...
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
version: 2
updates:
- package-ecosystem: github-actions
directory: /
groups:
github-actions:
patterns:
- "*" # Group all Actions updates into a single larger pull request
schedule:
interval: weekly
38 changes: 38 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

- [ ] Test A
- [ ] Test B

**Test Configuration**:

* OS:
* OS Version:
* PHP Version:

# Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
44 changes: 44 additions & 0 deletions .github/workflows/build.php73.ant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI (Ant, PHP 7.3)

on:
push:
tags-ignore:
- '**'
branches:
- '**'
paths-ignore:
- '**.md'
- '.github/**'
- 'examples/**'
pull_request:
types:
- opened
branches:
- 'master'
workflow_dispatch:

jobs:
build:
permissions: write-all
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
extensions: imagick, swoole
coverage: xdebug
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Build with Ant
run: ant -noinput -buildfile build.ant.xml
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: github.event_name != 'pull_request'
with:
files: "./build/logs/junit.xml"
44 changes: 44 additions & 0 deletions .github/workflows/build.php74.ant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI (Ant, PHP 7.4)

on:
push:
tags-ignore:
- '**'
branches:
- '**'
paths-ignore:
- '**.md'
- '.github/**'
- 'examples/**'
pull_request:
types:
- opened
branches:
- 'master'
workflow_dispatch:

jobs:
build:
permissions: write-all
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: imagick, swoole
coverage: xdebug
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Build with Ant
run: ant -noinput -buildfile build.ant.xml
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: github.event_name != 'pull_request'
with:
files: "./build/logs/junit.xml"
44 changes: 44 additions & 0 deletions .github/workflows/build.php80.ant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI (Ant, PHP 8.0)

on:
push:
tags-ignore:
- '**'
branches:
- '**'
paths-ignore:
- '**.md'
- '.github/**'
- 'examples/**'
pull_request:
types:
- opened
branches:
- 'master'
workflow_dispatch:

jobs:
build:
permissions: write-all
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: imagick, swoole
coverage: xdebug
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Build with Ant
run: ant -noinput -buildfile build.ant.xml
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: github.event_name != 'pull_request'
with:
files: "./build/logs/junit.xml"
44 changes: 44 additions & 0 deletions .github/workflows/build.php81.ant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI (Ant, PHP 8.1)

on:
push:
tags-ignore:
- '**'
branches:
- '**'
paths-ignore:
- '**.md'
- '.github/**'
- 'examples/**'
pull_request:
types:
- opened
branches:
- 'master'
workflow_dispatch:

jobs:
build:
permissions: write-all
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
extensions: imagick, swoole
coverage: xdebug
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Build with Ant
run: ant -noinput -buildfile build.ant.xml
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: github.event_name != 'pull_request'
with:
files: "./build/logs/junit.xml"
44 changes: 44 additions & 0 deletions .github/workflows/build.php81.release.ant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Release

on:
push:
tags:
- "v*"
paths-ignore:
- '**.md'
- '.github/**'
- 'examples/**'

jobs:
build:
permissions: write-all
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
extensions: imagick, swoole
coverage: xdebug
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Build with Ant
run: ant -noinput -buildfile build.ant.xml
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: "./build/logs/junit.xml"
- name: Make Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
build/dist/doc.zip
build/dist/builddoc.zip
44 changes: 44 additions & 0 deletions .github/workflows/build.php82.ant.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI (Ant, PHP 8.2)

on:
push:
tags-ignore:
- '**'
branches:
- '**'
paths-ignore:
- '**.md'
- '.github/**'
- 'examples/**'
pull_request:
types:
- opened
branches:
- 'master'
workflow_dispatch:

jobs:
build:
permissions: write-all
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: imagick, swoole
coverage: xdebug
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Build with Ant
run: ant -noinput -buildfile build.ant.xml
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: github.event_name != 'pull_request'
with:
files: "./build/logs/junit.xml"
Loading

0 comments on commit 9c09d00

Please sign in to comment.