-
Notifications
You must be signed in to change notification settings - Fork 41
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
1 parent
49a951f
commit 0bf5dcb
Showing
9 changed files
with
214 additions
and
4 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,5 @@ | ||
[codespell] | ||
quiet-level = 2 | ||
count = | ||
skip = ./dep,./imgs | ||
ignore-words = ./.github/wordlist.txt |
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: Bug report | ||
about: Help us improve TairHash by reporting a bug | ||
title: '[BUG]' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
|
||
A short description of the bug. | ||
|
||
**To reproduce** | ||
|
||
Steps to reproduce the behavior and/or a minimal code sample. | ||
|
||
**Expected behavior** | ||
|
||
A description of what you expected to happen. | ||
|
||
**Additional information** | ||
|
||
Any additional information that is relevant to the problem. |
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,20 @@ | ||
--- | ||
name: Crash report | ||
about: Submit a crash report | ||
title: '[CRASH]' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Crash report** | ||
|
||
Paste the complete crash log between the quotes below. Please include a few lines from the log preceding the crash report to provide some context. | ||
|
||
``` | ||
``` | ||
|
||
**Additional information** | ||
|
||
1. OS distribution and version | ||
2. Steps to reproduce (if any) |
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 a feature for TairHash | ||
title: '[NEW]' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**The problem/use-case that the feature addresses** | ||
|
||
A description of the problem that the feature will solve, or the use-case with which the feature will be used. | ||
|
||
**Description of the feature** | ||
|
||
A description of what you want to happen. | ||
|
||
**Alternatives you've considered** | ||
|
||
Any alternative solutions or features you've considered, including references to existing open and closed feature requests in this repository. | ||
|
||
**Additional information** | ||
|
||
Any additional information that is relevant to the feature request. |
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,8 @@ | ||
--- | ||
name: Other | ||
about: Can't find the right issue type? Use this one! | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- |
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,16 @@ | ||
ake | ||
bale | ||
fle | ||
fo | ||
gameboy | ||
mutli | ||
nd | ||
nees | ||
oll | ||
optin | ||
ot | ||
smove | ||
te | ||
tre | ||
cancelability | ||
ist |
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,88 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
|
||
test-ubuntu-with-redis-5: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: clone and make redis | ||
run: | | ||
sudo apt-get install git | ||
git clone https://github.com/redis/redis | ||
cd redis | ||
git checkout 5.0 | ||
make REDIS_CFLAGS='-Werror' BUILD_TLS=yes | ||
- name: make tairhash | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake ../ | ||
make | ||
- name: test | ||
run: | | ||
sudo apt-get install tcl8.6 tclx | ||
work_path=$(pwd) | ||
module_path=$work_path/lib | ||
sed -e "s#your_path#$module_path#g" tests/tairhash.tcl > redis/tests/unit/type/tairhash.tcl | ||
sed -i 's#unit/type/string#unit/type/tairhash#g' redis/tests/test_helper.tcl | ||
cd redis | ||
./runtest --stack-logging --single unit/type/tairhash | ||
test-ubuntu-with-redis-6: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: clone and make redis | ||
run: | | ||
sudo apt-get install git | ||
git clone https://github.com/redis/redis | ||
cd redis | ||
git checkout 6.0 | ||
make REDIS_CFLAGS='-Werror' BUILD_TLS=yes | ||
- name: make tairhash | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake ../ | ||
make | ||
- name: test | ||
run: | | ||
sudo apt-get install tcl8.6 tclx | ||
work_path=$(pwd) | ||
module_path=$work_path/lib | ||
sed -e "s#your_path#$module_path#g" tests/tairhash.tcl > redis/tests/unit/type/tairhash.tcl | ||
sed -i 's#unit/type/string#unit/type/tairhash#g' redis/tests/test_helper.tcl | ||
cd redis | ||
./runtest --stack-logging --single unit/type/tairhash | ||
test-ubuntu-with-redis-unstable-sort-mode: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: clone and make redis | ||
run: | | ||
sudo apt-get install git | ||
git clone https://github.com/redis/redis | ||
cd redis | ||
git checkout unstable | ||
make REDIS_CFLAGS='-Werror' BUILD_TLS=yes | ||
- name: make tairhash | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake ../ -DSORT_MODE=yes | ||
make | ||
- name: test | ||
run: | | ||
sudo apt-get install tcl8.6 tclx | ||
work_path=$(pwd) | ||
module_path=$work_path/lib | ||
sed -e "s#your_path#$module_path#g" tests/tairhash.tcl > redis/tests/unit/type/tairhash.tcl | ||
sed -i 's#unit/type/string#unit/type/tairhash#g' redis/tests/test_helper.tcl | ||
cd redis | ||
./runtest --stack-logging --single unit/type/tairhash | ||
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,25 @@ | ||
# A CI action that using codespell to check spell. | ||
# .github/.codespellrc is a config file. | ||
# .github/wordlist.txt is a list of words that will ignore word checks. | ||
# More details please check the following link: | ||
# https://github.com/codespell-project/codespell | ||
name: Spellcheck | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: Spellcheck | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install prerequisites | ||
run: sudo pip install codespell==2.0.0 | ||
|
||
- name: Spell check | ||
run: codespell --config=./.github/.codespellrc |
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