Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial commit #1

Merged
merged 5 commits into from
Oct 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*.ac text eol=lf
*.am text eol=lf
*.sh text eol=lf
*.pl text eol=lf
*.py text eol=lf
*.go text eol=lf
*.c text eol=lf
*.cs text eol=lf
*.json text eol=lf
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/Story.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Story
about: Create a story

---

# Overview

<!-- TODO: ストーリーの概要を記述 -->

-

# Completion condition

<!-- TODO: ストーリーが完了したかどうかの判定を記述 -->

-
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/Task.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Task
about: Create a task

---

# Overview

<!-- TODO: タスクの概要を記述 -->

-

# Sub tasks

<!-- TODO: タスクを実現するために、やるべきタスクと予定時間を記述 -->
<!-- 入力例: - [ ] 〇〇クラスに、△△の実装を追加する(1.5h -> h) -->
- [ ]

# Completion condition

<!-- TODO: タスクが完了したかどうかの判定を記述 -->

-
44 changes: 44 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## Linked Issue

<!--
for linked ZenHub Issue or other repository issue.
- ZenHub's issue URL
- other repository's issue URL
-->

## Overview



## How to use

<!--
- How to check the operation
- For tasks that require operation confirmation, enter the required commands, etc.
- If not needed, leave blank
-->

```bash
```

## Items reserved this time, or TODO

<!--
- If not needed, leave blank
-->

## Check list

** Person who issued **
- [ ] checked script <!-- npm run check -->
- [ ] build successed
- [ ] Linked PullRequest and Issue

** Reviewer **
- [ ] (if necessary) Record the review results of related tickets.

## Memo

<!--
- Explain any considerations or considerations.
-->
93 changes: 93 additions & 0 deletions .github/workflows/check_pre-merge_develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: develop pre-merge check

on:
push:
branches:
- develop
- test_ci
paths-ignore:
- '.github/workflows/create_release-and-upload.yml'
- 'README.md'
pull_request:
branches:
- develop
- test_ci

jobs:
build-and-test:
name: build & test
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
py-ver: [3.6, 3.7, 3.8, pypy3]
exclude:
- os: windows-latest
py-ver: pypy3

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.py-ver }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: build
run: python setup.py build
- name: copy dll
if: runner.os == 'Windows' && (matrix.py-ver == '3.6' || matrix.py-ver == '3.7')
run: |
cp ./cmake_build/Release/*.dll ./cfd/
echo "$GITHUB_WORKSPACE/cfd" >> $GITHUB_PATH
shell: bash
- name: test
run: python -m unittest discover -v tests

pip-test:
name: pip test
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
py-ver: [3.6, 3.7, 3.8, pypy3]
exclude:
- os: windows-latest
py-ver: 3.6
- os: windows-latest
py-ver: 3.7
- os: windows-latest
py-ver: pypy3

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.py-ver }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: install pip
run: python -m pip install -U pip
- name: install
run: pip install --user .
- name: dump info
run: pip show cfd
- name: call example
run: python ./tools/example.py

doxygen-ubuntu:
name: doxygen-ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install_doxygen
run: sudo apt install doxygen graphviz
- name: doxygen_check
run: |
cd doc
doxygen Doxyfile_quiet_all
88 changes: 88 additions & 0 deletions .github/workflows/check_pre-merge_master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: master pre-merge check

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build-and-test:
name: build & test
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
py-ver: [3.6, 3.7, 3.8, pypy3]
exclude:
- os: windows-latest
py-ver: pypy3

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.py-ver }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: build
run: python setup.py build
- name: copy dll
if: runner.os == 'Windows' && (matrix.py-ver == '3.6' || matrix.py-ver == '3.7')
run: |
cp ./cmake_build/Release/*.dll ./cfd/
echo "$GITHUB_WORKSPACE/cfd" >> $GITHUB_PATH
shell: bash
- name: test
run: python -m unittest discover -v tests

pip-test:
name: pip test
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
py-ver: [3.6, 3.7, 3.8, pypy3]
exclude:
- os: windows-latest
py-ver: 3.6
- os: windows-latest
py-ver: 3.7
- os: windows-latest
py-ver: pypy3

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.py-ver }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: install pip
run: python -m pip install -U pip
- name: install
run: pip install --user .
- name: dump info
run: pip show cfd
- name: call example
run: python ./tools/example.py

doxygen-ubuntu:
name: doxygen-ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install_doxygen
run: sudo apt install doxygen graphviz
- name: doxygen_check
run: |
cd doc
doxygen Doxyfile_quiet_all
63 changes: 63 additions & 0 deletions .github/workflows/check_pre-merge_sprint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: sprint pre-merge check

on:
push:
branches:
- features/sprint*
paths-ignore:
- '.github/workflows/create_release-and-upload.yml'
- 'README.md'
pull_request:
branches:
- features/sprint*

jobs:
build-and-test:
name: build & test
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
py-ver: [3.6, 3.7, 3.8, pypy3]
exclude:
- os: macos-latest
py-ver: 3.6
- os: macos-latest
py-ver: 3.7
- os: windows-latest
py-ver: 3.6
- os: windows-latest
py-ver: pypy3

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.py-ver }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: build
run: python setup.py build
- name: copy dll
if: runner.os == 'Windows' && matrix.py-ver == '3.7'
run: |
cp ./cmake_build/Release/*.dll ./cfd/
echo "$GITHUB_WORKSPACE/cfd" >> $GITHUB_PATH
shell: bash
- name: test
run: python -m unittest discover -v tests

doxygen-ubuntu:
name: doxygen-ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install_doxygen
run: sudo apt install doxygen graphviz
- name: doxygen_check
run: |
cd doc
doxygen Doxyfile_quiet_all
Loading