core: Fix formatting mistake. #366
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: {} | |
jobs: | |
check: | |
name: Check ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, "windows-latest"] | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup Toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Check default features | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
args: --all | |
- name: Check all features | |
uses: actions-rs/cargo@v1 | |
with: | |
command: check | |
args: --all --all-features --exclude symphonia-play | |
test: | |
name: Test ${{ matrix.config.target }} on ${{ matrix.config.os }} | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
matrix: | |
config: | |
- { os: ubuntu-latest, target: x86_64-unknown-linux-gnu, use-cross: false } | |
- { os: macos-latest, target: x86_64-apple-darwin, use-cross: false } | |
- { os: windows-latest, target: x86_64-pc-windows-msvc, use-cross: false } | |
- { os: ubuntu-latest, target: powerpc-unknown-linux-gnu, use-cross: true } | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup Toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Test default features | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --target ${{ matrix.config.target }} --all --exclude symphonia-play | |
use-cross: ${{ matrix.config.use-cross }} | |
- name: Test all features | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --target ${{ matrix.config.target }} --all --all-features --exclude symphonia-play | |
use-cross: ${{ matrix.config.use-cross }} | |
- name: Test documentation | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --target ${{ matrix.config.target }} --all --all-features --doc --exclude symphonia-play | |
use-cross: ${{ matrix.config.use-cross }} | |
fmt: | |
name: Rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup Toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
override: true | |
components: rustfmt | |
- name: Check formatting | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check |