Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adds actions for documentation, wheel#10

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sdpython merged 2 commits intomainfromyml
Apr 25, 2023
Merged
Show file tree
Hide file tree
Changes fromall 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
6 changes: 2 additions & 4 deletions.github/workflows/black.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
name: Lint

name: Black Format Checker
on: [push, pull_request]

jobs:
lint:
black-format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
35 changes: 35 additions & 0 deletions.github/workflows/documentation.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
name: Documentation

on: [push, pull_request]

jobs:
build_wheels:
name: Build documentation on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3

# Used to host cibuildwheel
- uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install requirements
run: python -m pip install -r requirements.txt

- name: Install requirements-dev.txt
run: python -m pip install -r requirements-dev.txt

- name: Install
run: python -m pip install -e .

- name: Documentation
run: python -m sphinx ./_doc ./dist/html

- uses: actions/upload-artifact@v3
with:
path: ./dist/html/**
40 changes: 40 additions & 0 deletions.github/workflows/wheels-linux.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
name: Build Wheel Linux

on:
push:
branches:
- main
- 'releases/**'

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3

# Used to host cibuildwheel
- uses: actions/setup-python@v4
with:
python-version: '3.10'

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

- name: python version
run: python -V

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
# to supply options, put them in 'env', like:
#env:
# # CIBW_BUILD: "cp310* cp311*"
# CIBW_SKIP: cp36-* cp37-* cp38-* cp39-*

- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
39 changes: 39 additions & 0 deletions.github/workflows/wheels-mac.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
name: Build Wheel MacOS

on:
push:
branches:
- main
- 'releases/**'

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macOS-latest]

steps:
- uses: actions/checkout@v3

# Used to host cibuildwheel
- uses: actions/setup-python@v4
with:
python-version: '3.10'

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

- name: python version
run: python -V

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
# to supply options, put them in 'env', like:
#env:
# CIBW_BUILD: cp311*

- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
39 changes: 39 additions & 0 deletions.github/workflows/wheels-windows.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
name: Build Wheel Windows

on:
push:
branches:
- main
- 'releases/**'

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]

steps:
- uses: actions/checkout@v3

# Used to host cibuildwheel
- uses: actions/setup-python@v4
with:
python-version: '3.10'

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

- name: python version
run: python -V

- name: Build wheels
run: python -m cibuildwheel
# to supply options, put them in 'env', like:
# env:
# CIBW_BUILD: cp310-win_amd64* cp311-win_amd64*

- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
2 changes: 2 additions & 0 deletionsrequirements-dev.txt
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
autopep8
black
coverage
flake8
Expand All@@ -7,6 +8,7 @@ joblib
lightgbm
matplotlib
ml-dtypes
onnxmltools
onnxruntime
pandas
psutil
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp