Skip to content

CI

CI #113

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
schedule:
- cron: "0 6 * * 1"
jobs:
build:
strategy:
fail-fast: false
matrix:
experimental: [false]
os: [ubuntu-latest]
crystal:
- latest
include:
- experimental: true
os: ubuntu-latest
crystal: nightly
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
container: crystallang/crystal:${{ matrix.crystal }}-alpine
steps:
- uses: actions/checkout@v3
- name: Install build deps
run: |
apk add --update --no-cache ffmpeg-libs ffmpeg-dev
- name: Install dependencies
run: shards install --ignore-crystal-version --skip-postinstall --skip-executables
- name: Format
run: crystal tool format --check
- name: Run tests
run: crystal spec -v --error-trace