CI: only install libheif on ubuntu #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | ||
name: CI | ||
env: | ||
RUST_BACKTRACE: 1 | ||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
image: | ||
- ubuntu-latest | ||
- macos-latest # ARM | ||
- macos-13 # Intel | ||
# Windows will require extra attention. | ||
# - windows-latest | ||
runs-on: ${{ matrix.image }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install stable toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Install libheif | ||
if: ${{ matrix.image=="ubuntu-latest" }} | ||
Check failure on line 26 in .github/workflows/ci.yaml GitHub Actions / CIInvalid workflow file
|
||
run: sudo apt install -y libheif-dev | ||
- run: cargo test |