Skip to content

Commit

Permalink
refactor: migrate to jxl-oxide (#28)
Browse files Browse the repository at this point in the history
* refactor: migrate to jxl-oxide

* refactor: trim needless `&`

* refactor: reduce use of `std::mem::transmute()`

* chore: add `#![allow]` to suppress warnings from library uses

* chore(ci): skip extra toolchain installation

* docs(README): remove build environment requirements

* fix: proper size after applying orientation
  • Loading branch information
saschanaz committed Jul 23, 2023
1 parent 336ea5b commit 6be355a
Show file tree
Hide file tree
Showing 9 changed files with 308 additions and 368 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
submodules: recursive
uses: actions/checkout@v3

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -21,28 +19,6 @@ jobs:
toolchain: stable
override: true

- name: Install Ninja
uses: seanmiddleditch/gha-setup-ninja@master

- name: Cache LLVM and Clang
id: cache-llvm
uses: actions/cache@v2
with:
path: ${{ runner.temp }}/llvm
key: llvm-14.0
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "14.0"
directory: ${{ runner.temp }}/llvm
cached: ${{ steps.cache-llvm.outputs.cache-hit }}

# See:
# https://github.com/rust-lang/rust-bindgen/issues/1797
# https://github.com/KyleMayes/clang-sys/issues/121
- name: Set LIBCLANG_PATH
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV

- name: Run cargo build
uses: actions-rs/cargo@v1
with:
Expand All @@ -53,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down
Loading

0 comments on commit 6be355a

Please sign in to comment.