Feature/jxl #219
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 | |
- name: Set up dependencies (Linux) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y nasm ninja-build meson cmake pkg-config libbrotli-dev | |
- name: Set up dependencies (MacOS) | |
if: matrix.os == 'macos-latest' | |
run: | | |
brew install nasm ninja meson cmake pkg-config brotli | |
- name: Set up dependencies (Windows) | |
if: matrix.os == 'windows-2019' | |
run: | | |
choco install nasm ninja cmake | |
pip install meson | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- name: Test | |
run: | | |
cargo test --verbose |