Feature/jxl #220
Workflow file for this run
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
name: Rimage | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-2019] | |
name: Cargo test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ilammy/setup-nasm@v1 | |
- uses: jwlawson/actions-setup-cmake@v1 | |
- name: Set up dependencies (Linux) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y pkg-config libbrotli-dev | |
pip3 install meson ninja | |
- name: Set up dependencies (MacOS) | |
if: matrix.os == 'macos-latest' | |
run: | | |
brew install pkg-config brotli | |
pip3 install meson ninja | |
- name: Set up dependencies (Windows) | |
if: matrix.os == 'windows-2019' | |
run: | | |
pip3 install meson ninja | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- name: Test | |
run: | | |
cargo test --verbose |