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

Default jpegturbo, udpate version to 0.0.6 and more improvements #23

Merged
merged 36 commits into from Jan 6, 2023
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
da83ce0
update for libjpeg turbo
edgarriba Dec 31, 2022
371761f
remove test data
edgarriba Dec 31, 2022
c048be8
remove openv
edgarriba Dec 31, 2022
369ce72
fix workflows
edgarriba Dec 31, 2022
52ba150
clippy, fmt
edgarriba Dec 31, 2022
8aabc54
fix ci
edgarriba Dec 31, 2022
83d58a5
update ci scripts
edgarriba Dec 31, 2022
d3d5959
Apply suggestions from code review
edgarriba Jan 1, 2023
84c2145
update release pipeline
edgarriba Jan 2, 2023
39b441f
enable clang5
edgarriba Jan 2, 2023
32534ab
fix release workflow
edgarriba Jan 3, 2023
e383a34
fix python version
edgarriba Jan 3, 2023
b996523
remove no-sdist
edgarriba Jan 3, 2023
afa9727
add again --no-sdist
edgarriba Jan 3, 2023
87aa5e9
remove no-sdist
edgarriba Jan 3, 2023
9b2c081
add nasm
edgarriba Jan 3, 2023
704aa31
fix windows compilation error
edgarriba Jan 3, 2023
7391a77
add setup clang
edgarriba Jan 3, 2023
e63d446
install libclang-dev
edgarriba Jan 3, 2023
ea5e306
Update .github/workflows/release.yml
edgarriba Jan 3, 2023
7f4fe62
Update release.yml
edgarriba Jan 3, 2023
cb5c53c
fix clang for ubuntu
edgarriba Jan 4, 2023
7cb6af3
undo version
edgarriba Jan 4, 2023
997f52f
bump version to 0.0.6
edgarriba Jan 4, 2023
2a29bb6
apply cargo fmt
edgarriba Jan 4, 2023
2c9bd25
apply pre-commit
edgarriba Jan 4, 2023
4d483e8
unnecesary type conversion
edgarriba Jan 4, 2023
a6fb6f9
remove files
edgarriba Jan 4, 2023
0da741a
use precommit in ci
edgarriba Jan 4, 2023
ef2a730
add credentials in ci
edgarriba Jan 4, 2023
b8a1bd6
add credentials in ci
edgarriba Jan 4, 2023
e8390cd
add precommit in ci
edgarriba Jan 4, 2023
83d0413
refactor read write tests ad expose encoder quality
edgarriba Jan 4, 2023
dee7bfd
remove image
edgarriba Jan 4, 2023
a2799e5
clean pre-commit-ci
edgarriba Jan 6, 2023
9444ab6
remove pre-commit lite
edgarriba Jan 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
60 changes: 25 additions & 35 deletions .github/workflows/ci.yml
Expand Up @@ -32,48 +32,38 @@ jobs:
name: Compile and Run the tests
run: ./run_tests.sh

check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check

fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
-
name: Checkout the repository
uses: actions/checkout@v2
edgarriba marked this conversation as resolved.
Show resolved Hide resolved
-
name: Log in to the Container registry
uses: docker/login-action@v1
with:
command: fmt
args: --all -- --check

registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Compile and Run the tests
run: ./run_fmt.sh

clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
-
name: Checkout the repository
uses: actions/checkout@v2
edgarriba marked this conversation as resolved.
Show resolved Hide resolved
-
name: Log in to the Container registry
uses: docker/login-action@v1
with:
command: clippy
args: -- -D warnings
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Compile and Run the tests
run: ./run_clippy.sh
27 changes: 13 additions & 14 deletions .github/workflows/release.yml
Expand Up @@ -12,22 +12,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
target: [x86_64]
steps:
- uses: egor-tensin/setup-clang@v1
edgarriba marked this conversation as resolved.
Show resolved Hide resolved
- uses: ilammy/setup-nasm@v1
- name: Install libclang-dev
run: sudo apt-get install libclang-dev
- uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: messense/maturin-action@v1
with:
container: ghcr.io/kornia/kornia-rs/release:latest
target: ${{ matrix.target }}
manylinux: auto
args: --release --out dist --no-sdist -i python${{ matrix.python-version }}
args: --release --out dist -i python${{ matrix.python-version }}
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
Expand All @@ -38,8 +35,9 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: ilammy/setup-nasm@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
Expand All @@ -54,7 +52,7 @@ jobs:
with:
maturin-version: latest
command: build
args: --release --out dist --no-sdist
args: --release --out dist -i python${{ matrix.python-version }}
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
Expand All @@ -65,9 +63,10 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
target: [x64, x86]
steps:
steps:
- uses: ilammy/setup-nasm@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
Expand All @@ -82,7 +81,7 @@ jobs:
with:
maturin-version: latest
command: build
args: --release --out dist --no-sdist
args: --release --out dist -i python${{ matrix.python-version }}
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
Expand Down