Skip to content

Commit

Permalink
github: try to commit image features check
Browse files Browse the repository at this point in the history
To catch things like  #164
  • Loading branch information
etemesi254 committed Mar 18, 2024
1 parent 6251b26 commit c0bb7dc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 7 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/image_features.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Investigate image features that run

env:
CARGO_TERM_COLOR: always

jobs:
build:
strategy:
matrix:
features:[image_formats, serde-support, metadata, threads, simd, log,jpeg, ppm, png, psd, farbfeld, qoi, jpeg-xl, hdr, bmp]

runs-on: ubuntu-latest



steps:
- name: Check independent feature build Basics
uses: actions-rs/cargo@v1
with:
command: check
args: -p zune-image --no-default-features -F ${{ matrix.features }}

14 changes: 7 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Rust

on:
push:
branches: [ "main","dev" ]
branches: [ "main","dev","gif" ]
pull_request:
branches: [ "main","dev" ]
branches: [ "main","dev" ,"gif" ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -26,9 +26,9 @@ jobs:
os: macos-latest
target: x86_64-apple-darwin

# - name: Web
# os: ubuntu-latest
# target: wasm32-unknown-unknown
# - name: Web
# os: ubuntu-latest
# target: wasm32-unknown-unknown

runs-on: ${{ matrix.os }}

Expand All @@ -54,6 +54,6 @@ jobs:
uses: actions-rs/cargo@v1
if: matrix.name != 'Windows' # Windows sucks due to paths, and command syntac
with:
command: test
args: --target ${{ matrix.target }} --workspace --all --no-default-features
command: test
args: --target ${{ matrix.target }} --workspace --all --no-default-features

0 comments on commit c0bb7dc

Please sign in to comment.