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

Main #2

Open
wants to merge 115 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
6905560
Create workflows
shingo-murakami Feb 29, 2024
cf3fb6d
Update workflows
shingo-murakami Feb 29, 2024
d4d7c7a
Update workflows
shingo-murakami Feb 29, 2024
e994fcd
Rename workflows to test
shingo-murakami Feb 29, 2024
c6c8540
Create compile_upload.yml
shingo-murakami Feb 29, 2024
6f9e077
Delete .github/test
shingo-murakami Feb 29, 2024
faa15d0
Committing changes before pull
shingo-murakami Feb 29, 2024
9c07a43
Update setup.py
shingo-murakami Feb 29, 2024
604872b
Update push_test.txt
shingo-murakami Feb 29, 2024
b64deed
Update
shingo-murakami Mar 7, 2024
80069ae
Updated setup.py
shingo-murakami Mar 7, 2024
534c25f
Updated copile_upload.yml
shingo-murakami Mar 7, 2024
50b3761
Updated compile_upload.yml
shingo-murakami Mar 7, 2024
334cdac
Updated compile_upload.yml
shingo-murakami Mar 7, 2024
c33fe6c
Updated push_test.txt
shingo-murakami Mar 7, 2024
bf01006
Updated pyproject.toml
shingo-murakami Mar 7, 2024
09cb2f6
Updated workflows
shingo-murakami Mar 7, 2024
74f0345
Updated workflows
shingo-murakami Mar 14, 2024
cbb1108
Updated workflows
shingo-murakami Mar 14, 2024
7d927d1
Updated push_test
shingo-murakami Mar 14, 2024
cdf6bd0
Updated workflows
shingo-murakami Mar 14, 2024
033e641
Updated workflows
shingo-murakami Mar 14, 2024
f1cf689
Updated workflows
shingo-murakami Mar 14, 2024
cfeac0e
Updated push_test
shingo-murakami Mar 14, 2024
76e864a
Updated workflows
shingo-murakami Mar 14, 2024
9577c04
Updated workflows
shingo-murakami Mar 14, 2024
7ba80a0
Updated workflows
shingo-murakami Mar 14, 2024
4f3dddc
Updated workflows
shingo-murakami Mar 14, 2024
311515c
Updated workflows
shingo-murakami Mar 14, 2024
56ad0a0
Updated workflows
shingo-murakami Mar 14, 2024
474b8bf
Updated workflows
shingo-murakami Mar 14, 2024
d319e51
Updated workflows
shingo-murakami Mar 14, 2024
28cd392
Updated workflows
shingo-murakami Mar 14, 2024
cf81a3a
Updated GitHub Secrets
shingo-murakami Mar 14, 2024
969bec4
Updated workflows
shingo-murakami Mar 14, 2024
5705624
Updated workflows
shingo-murakami Mar 14, 2024
c5edbc1
Updated workflows
shingo-murakami Mar 14, 2024
4e19468
Many updates
shingo-murakami Mar 21, 2024
3d94471
Updated push_test.txt
shingo-murakami Mar 21, 2024
a1681d4
Updated workflows
shingo-murakami Mar 21, 2024
3ea40a7
Update workflows
shingo-murakami Mar 21, 2024
e2564a3
Update CMakeLists.txt
shingo-murakami Mar 21, 2024
b141a65
Updated CMakeLists.txt
shingo-murakami Mar 21, 2024
981294e
Something updated
shingo-murakami Mar 21, 2024
f2ee6fe
Updated CMakeLists.txt
shingo-murakami Mar 21, 2024
c7e5c21
Updated CMakeLists.txt
shingo-murakami Mar 21, 2024
d452af2
cash cleared
shingo-murakami Mar 21, 2024
8059a6e
Updated CMakeLists.txt
shingo-murakami Mar 21, 2024
3fc4d71
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
d1e090d
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
dc2ab78
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
891161d
Updated CMakeLists.txt)
shingo-murakami Mar 28, 2024
9b26a62
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
bf3c287
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
8f891fa
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
ae2d45f
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
d13cf73
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
40b990d
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
d74a714
Updated CMakelists.txt
shingo-murakami Mar 28, 2024
fcb30e3
Deleted CMakeCache.txt
shingo-murakami Mar 28, 2024
d55edb3
Updated CMakeLits.txt
shingo-murakami Mar 28, 2024
e4b6e23
Updated CMakeLists.txt and workflows
shingo-murakami Mar 28, 2024
36fa8fa
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
ec4f69b
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
44eb889
Updated workflows
shingo-murakami Mar 28, 2024
8c3bdf2
Updated workflows
shingo-murakami Mar 28, 2024
5d0327d
Updated CMakeLits.txt
shingo-murakami Mar 28, 2024
c6021bc
Updated CMakeLists.txt
shingo-murakami Mar 28, 2024
5b667e7
Updated workflows
shingo-murakami Mar 28, 2024
1e8ed59
Updated workflows
shingo-murakami Mar 28, 2024
7f25968
Updated workflows
shingo-murakami Mar 28, 2024
84a1cbe
Update setup.py
shingo-murakami Mar 28, 2024
9395f40
Updated workflows
shingo-murakami Mar 28, 2024
bd4de06
Updated setup.py
shingo-murakami Mar 28, 2024
3aff89b
Updated setup.py
shingo-murakami Mar 28, 2024
d8f08c5
Updated setup.py
shingo-murakami Mar 28, 2024
5fa28cf
Updated setup.py
shingo-murakami Mar 28, 2024
67cf9c7
Updated setup.py
shingo-murakami Mar 28, 2024
93aaaf7
Updated setup.py
shingo-murakami Mar 28, 2024
f4023ad
Updated setup.py
shingo-murakami Mar 28, 2024
4e68253
Updated setup.py
shingo-murakami Mar 28, 2024
f42b579
Updated workflows
shingo-murakami Mar 28, 2024
3fa35dc
Updated workflows and setup.py
shingo-murakami Mar 28, 2024
65c41cb
Updated setup.py
shingo-murakami Mar 28, 2024
eb6a205
Updated workflows
shingo-murakami Mar 28, 2024
77f0361
Updated push_test.txt
shingo-murakami Apr 4, 2024
ff5725a
Version upgrade
shingo-murakami Apr 4, 2024
28ea454
Version upgrade
shingo-murakami Apr 4, 2024
703edf2
Version Upgrade
shingo-murakami Apr 4, 2024
8390ce0
Updated workflows
shingo-murakami Apr 4, 2024
0d05da6
Updated workflows
shingo-murakami Apr 4, 2024
1d96560
Updated wordflows
shingo-murakami Apr 4, 2024
dff3111
Updated workflows
shingo-murakami Apr 4, 2024
427992a
Updated workflows
shingo-murakami Apr 4, 2024
40938bf
compile on macOS
shingo-murakami Apr 4, 2024
f8539d9
Compile on macOS
shingo-murakami Apr 4, 2024
4c1e42b
Add Upgrade setuptools
shingo-murakami Apr 4, 2024
30cd014
Compile on macOS
shingo-murakami Apr 4, 2024
b5d41ca
Add Install wheel
shingo-murakami Apr 4, 2024
9124164
Add Install pybind11
shingo-murakami Apr 4, 2024
e4ef3ba
Compile on Windows
shingo-murakami Apr 4, 2024
2b4b43a
Changed PATH in CmakeLists.txt
shingo-murakami Apr 4, 2024
8e61247
empty
shingo-murakami Apr 4, 2024
1a96113
Delete build
shingo-murakami Apr 4, 2024
fda4f06
changed python-version
shingo-murakami Apr 4, 2024
77dc519
manylinux tag
shingo-murakami Apr 4, 2024
c849f82
revised for all environments
shingo-murakami Apr 4, 2024
f4e625d
Add setuptools and wheel
shingo-murakami Apr 4, 2024
165147f
Compile on Ubuntu
shingo-murakami Apr 4, 2024
e2baaf5
Add Install Path
shingo-murakami Apr 4, 2024
f3fb59f
Install pybind11
shingo-murakami Apr 4, 2024
65ea0b5
Compile on Ubuntu
shingo-murakami Apr 4, 2024
e2a037c
Install pybind11
shingo-murakami Apr 4, 2024
3af0552
pybind11_DIR
shingo-murakami Apr 4, 2024
bb0b381
pybind11 global
shingo-murakami Apr 5, 2024
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
126 changes: 126 additions & 0 deletions .github/workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
name: Build, Test, and Deploy

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y <dependencies>
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Compile on Ubuntu
run: |
# Compile commands for Ubuntu

build_mac:
runs-on: macos-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
# Install dependencies on macOS
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Compile on macOS
run: |
# Compile commands for macOS

build_windows:
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
# Install dependencies on Windows
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Compile on Windows
run: |
# Compile commands for Windows

test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y <dependencies>
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Run tests
run: |
# Test commands

deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y <dependencies>
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Compile on Ubuntu
run: |
# Compile commands for Ubuntu

- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@27
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
136 changes: 136 additions & 0 deletions .github/workflows/compile_upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
name: Build, Test, and Deploy

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'

- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python -

- name: Install dependencies
run: |
sudo apt-get update
python -m pip install --upgrade pip
python -m pip install setuptools wheel

- name: Install pybind11
run: |
pip install pybind11
pip install "pybind11[global]"


- name: Compile on Ubuntu
run: |
mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH="C:/Users/shing/AppData/Local/Packages/PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0/LocalCache/local-packages/Python311/site-packages" -Dpybind11_DIR=/path/to/pybind11Config.cmake ..
cmake --build .

build_mac:
runs-on: macos-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'

- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python -

- name: Install dependencies
run: |
brew update # macOS環境でのパッケージ更新
python -m pip install --upgrade pip

- name: Upgrade setuptools
run: python -m pip install --upgrade setuptools

- name: Install wheel
run: python -m pip install wheel

- name: Install pybind11
run: |
pip install pybind11
pip install "pybind11[global]"

- name: Compile on macOS
run: |
python setup.py sdist bdist_wheel

build_windows:
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install --upgrade pip

- name: Upgrade setuptools
run: python -m pip install --upgrade setuptools

- name: Install wheel
run: python -m pip install wheel

- name: Install pybind11
run: |
pip install pybind11
pip install "pybind11[global]"

- name: Compile on Windows
run: |
python setup.py sdist bdist_wheel

deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel twine setuptools

- name: Install pybind11
run: |
pip install pybind11
pip install "pybind11[global]"

- name: Build and upload
run: |
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
Loading