-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Takeshi Nakatani
committed
Apr 27, 2023
0 parents
commit 6c37fae
Showing
94 changed files
with
15,041 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
--- | ||
|
||
<!-- ------------------------------------------------------------- | ||
[ REQUEST BEFORE POSTING ] | ||
The following information is very important in order to help us to | ||
help you. | ||
Omission of the following details may delay your support request. | ||
-------------------------------------------------------------- --> | ||
|
||
### Describe the bug | ||
<!-- ------------------------------------------------------------- | ||
Please describe the details of the bug, the problem, etc. to the | ||
extent that you understand. | ||
-------------------------------------------------------------- --> | ||
|
||
### Reproduction steps | ||
<!-- ------------------------------------------------------------- | ||
Please provide any steps to reproduce this issue. | ||
-------------------------------------------------------------- --> | ||
|
||
### Environment | ||
<!-- ------------------------------------------------------------- | ||
Please describe to the best of your knowledge the environment in | ||
which the problem occurred. | ||
-------------------------------------------------------------- --> | ||
|
||
#### Version of K2HASH PHP Extension being used ( package version ) | ||
``` | ||
``` | ||
|
||
#### Version of PHP (`php --version`) | ||
``` | ||
``` | ||
|
||
#### Distro (`cat /etc/os-release`) | ||
``` | ||
``` | ||
|
||
### Relevant Issues/Pull Requests (if applicable) | ||
<!-- ------------------------------------------------------------- | ||
If there are Issues or Pull Requests related to this Issue, please | ||
list it. | ||
-------------------------------------------------------------- --> | ||
|
||
### Additional context | ||
<!-- ------------------------------------------------------------- | ||
Add any other context(ex. logs) about the problem here. | ||
-------------------------------------------------------------- --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
--- | ||
|
||
### Feature request | ||
<!-- ------------------------------------------------------------- | ||
Please let us know your ideas, such as features you want to improve, | ||
features to add, etc. | ||
-------------------------------------------------------------- --> | ||
|
||
### Relevant Issues/Pull Requests (if applicable) | ||
<!-- ------------------------------------------------------------- | ||
If there are Issues or Pull Requests related to this Issue, please | ||
list it. | ||
-------------------------------------------------------------- --> | ||
|
||
### Additional context/explanation | ||
<!-- ------------------------------------------------------------- | ||
Please provide any additional context/explanation. | ||
-------------------------------------------------------------- --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Support request | ||
about: Request support for how to use, etc. | ||
title: '' | ||
labels: help wanted | ||
assignees: '' | ||
--- | ||
|
||
### What kind of support do you need? | ||
<!-- ------------------------------------------------------------- | ||
Please describe in detail what you need help with. | ||
-------------------------------------------------------------- --> | ||
|
||
### Relevant Issues/Pull Requests (if applicable) | ||
<!-- ------------------------------------------------------------- | ||
If there are Issues or Pull Requests related to this Issue, please | ||
list it. | ||
-------------------------------------------------------------- --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### Relevant Issues/Pull Requests (if applicable) | ||
<!-- ------------------------------------------------------------- | ||
If there are Issues or Pull Requests related to this Pull Request, | ||
please list it. | ||
-------------------------------------------------------------- --> | ||
|
||
### Details | ||
<!-- ------------------------------------------------------------- | ||
Please describe the details of PullRequest. | ||
-------------------------------------------------------------- --> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
# | ||
# k2hdkc PHP Extension library | ||
# ----------------------------------------------------------------------- | ||
# Utility tools for building configure/packages by AntPickax | ||
# | ||
# Copyright 2022 Yahoo Japan Corporation. | ||
# | ||
# AntPickax provides utility tools for supporting autotools | ||
# builds. | ||
# | ||
# These tools retrieve the necessary information from the | ||
# repository and appropriately set the setting values of | ||
# configure, Makefile, spec,etc file and so on. | ||
# These tools were recreated to reduce the number of fixes and | ||
# reduce the workload of developers when there is a change in | ||
# the project configuration. | ||
# ----------------------------------------------------------------------- | ||
# | ||
# Copyright 2023 Yahoo Japan Corporation. | ||
# | ||
# Modified to work with K2HDKC PHP Extension library. The original source | ||
# code is from K2HASH PHP Extension library, which is distibuted under | ||
# MIT License as well as this program. See the LICENSE file for the full | ||
# copyright and license information | ||
# | ||
# AUTHOR: Takeshi Nakatani | ||
# CREATE: Fri, Feb 24 2022 | ||
# REVISION: | ||
# | ||
|
||
#---------------------------------------------------------- | ||
# Github Actions | ||
#---------------------------------------------------------- | ||
name: PHP AntPickax CI | ||
|
||
# | ||
# Events | ||
# | ||
on: | ||
push: | ||
pull_request: | ||
# | ||
# CRON event is fire on every sunday(UTC). | ||
# | ||
schedule: | ||
- cron: '0 15 * * 0' | ||
|
||
# | ||
# Jobs | ||
# | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
# | ||
# build matrix for containers | ||
# | ||
strategy: | ||
# | ||
# do not stop jobs automatically if any of the jobs fail | ||
# | ||
fail-fast: false | ||
|
||
# | ||
# matrix for containers | ||
# | ||
matrix: | ||
container: | ||
- ubuntu:22.04 | ||
- ubuntu:20.04 | ||
- ubuntu:18.04 | ||
- debian:bullseye | ||
- debian:buster | ||
- centos:centos7 | ||
- rockylinux:9 | ||
- rockylinux:8 | ||
- fedora:37 | ||
- fedora:36 | ||
- alpine:3.17 | ||
|
||
php: | ||
- PHP80 | ||
- PHP81 | ||
- PHP82 | ||
|
||
container: | ||
image: ${{ matrix.container }} | ||
|
||
env: | ||
# | ||
# Installation special environment variables for ubuntu(debian). | ||
# | ||
DEBIAN_FRONTEND: noninteractive | ||
|
||
# | ||
# For PHP Unit test | ||
# | ||
NO_INTERACTION: 1 | ||
|
||
steps: | ||
# | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your | ||
# job can access it | ||
# | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
|
||
# | ||
# Set environments from secrets | ||
# | ||
# [NOTE] Secrets | ||
# Use Secrets of organization or repository as parameters to | ||
# pass to build_helper.sh for building and packaging, . | ||
# | ||
# The available Secret variables are listed below: | ||
# PHPEXTTYPE_VARS_FILE : specify custom variables file | ||
# BUILD_NUMBER : buld number for packaging | ||
# DEVELOPER_FULLNAME : developer name for package | ||
# DEVELOPER_EMAIL : developer e-mail for package | ||
# FORCE_PUBLISH : true means force to publish packages, false means never publish | ||
# USE_PACKAGECLOUD_REPO : true means using pacakgecloud.io repo, false is not using | ||
# * PACKAGECLOUD_TOKEN : The token for publishing to packagcloud.io | ||
# PACKAGECLOUD_OWNER : owner name as a part of path to packagcloud.io for publishing/downloading | ||
# PACKAGECLOUD_PUBLISH_REPO : repo name as a part of path to packagcloud.io for publishing | ||
# PACKAGECLOUD_DOWNLOAD_REPO : repo name as a part of path to packagcloud.io for downloading | ||
# | ||
# "PACKAGECLOUD_TOKEN" is a required variable to publish the | ||
# package. | ||
# | ||
- name: Set environments from secrets | ||
run: | | ||
echo "ENV_PHPEXTTYPE_VARS_FILE=${{ secrets.PHPEXTTYPE_VARS_FILE }}" >> "${GITHUB_ENV}" | ||
echo "ENV_BUILD_NUMBER=${{ secrets.BUILD_NUMBER }}" >> "${GITHUB_ENV}" | ||
echo "ENV_DEVELOPER_FULLNAME=${{ secrets.DEVELOPER_FULLNAME }}" >> "${GITHUB_ENV}" | ||
echo "ENV_DEVELOPER_EMAIL=${{ secrets.DEVELOPER_EMAIL }}" >> "${GITHUB_ENV}" | ||
echo "ENV_FORCE_PUBLISH=${{ secrets.FORCE_PUBLISH }}" >> "${GITHUB_ENV}" | ||
echo "ENV_USE_PACKAGECLOUD_REPO=${{ secrets.USE_PACKAGECLOUD_REPO }}" >> "${GITHUB_ENV}" | ||
echo "ENV_PACKAGECLOUD_TOKEN=${{ secrets.PACKAGECLOUD_TOKEN }}" >> "${GITHUB_ENV}" | ||
echo "ENV_PACKAGECLOUD_OWNER=${{ secrets.PACKAGECLOUD_OWNER }}" >> "${GITHUB_ENV}" | ||
echo "ENV_PACKAGECLOUD_PUBLISH_REPO=${{ secrets.PACKAGECLOUD_PUBLISH_REPO }}" >> "${GITHUB_ENV}" | ||
echo "ENV_PACKAGECLOUD_DOWNLOAD_REPO=${{ secrets.PACKAGECLOUD_DOWNLOAD_REPO }}" >> "${GITHUB_ENV}" | ||
# | ||
# Run building and packaging helper | ||
# | ||
- name: Run building and packaging | ||
run: | | ||
/bin/sh -c "$GITHUB_WORKSPACE/.github/workflows/phpext_helper.sh -os ${{ matrix.container }} -php ${{ matrix.php }}" | ||
# | ||
# Local variables: | ||
# tab-width: 4 | ||
# c-basic-offset: 4 | ||
# End: | ||
# vim600: expandtab sw=4 ts=4 fdm=marker | ||
# vim<600: expandtab sw=4 ts=4 | ||
# |
Oops, something went wrong.