CI: install libheif #2
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 | |
run: sudo apt install -y libheif-dev | |
- run: cargo test |