Skip to content

CI: only install libheif on ubuntu #3

CI: only install libheif on ubuntu

CI: only install libheif on ubuntu #3

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 26, Col: 13): Unexpected symbol: '"ubuntu-latest"'. Located at position 15 within expression: matrix.image=="ubuntu-latest"
run: sudo apt install -y libheif-dev
- run: cargo test