Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/TadaoYamaoka/cshogi
Browse files Browse the repository at this point in the history
  • Loading branch information
TadaoYamaoka committed Nov 20, 2023
2 parents adcaa86 + 07e8c8f commit 3bdf910
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: Build and publish
on:
push:
branches: [master]
branches: [master, dev]
release:
types: [published]
jobs:
deploy-windows:
runs-on: windows-2019
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-major-version: [3]
python-minor-version: [6, 7, 8, 9, 10, 11, 12]
env:
python-version: ${{ format('{0}.{1}', matrix.python-major-version, matrix.python-minor-version) }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand All @@ -20,9 +23,13 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ env.python-version }}
cache: "poetry"
cache-dependency-path: "pyproject.toml"
- name: Upgrade Poetry
if: ${{ matrix.python-minor-version >= 10 }}
run: |
pip install --upgrade poetry
- name: Install dependencies
run: |
poetry install --no-root
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ generate-setup-file = true
[tool.poetry.dependencies]
python = ">=3.6"
numpy = [
{ version = "*", python = "^3.8" },
{ version = "~1.26.0", python = "^3.12" },
{ version = "*", python = ">=3.8,<3.12" },
{ version = "~1.21.6", python = "=3.7" },
{ version = "~1.19.5", python = "=3.6" },
]
Expand Down

0 comments on commit 3bdf910

Please sign in to comment.