Skip to content

Update and rename FreeBSD CI.yml to FreeBSD Build.yml #11

Update and rename FreeBSD CI.yml to FreeBSD Build.yml

Update and rename FreeBSD CI.yml to FreeBSD Build.yml #11

Workflow file for this run

name: Crystal CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '0 6 * * 1' # Every Monday 6 AM
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
crystal: [latest, nightly]
include:
- os: ubuntu-22.04
crystal: 1.8.0
runs-on: ${{ matrix.os }}
steps:
- name: Download source
uses: actions/checkout@v4
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: ${{ matrix.crystal }}
- name: Install shards
run: shards install
- name: Run tests
run: crystal spec --order=random
- name: Build
run: shards build