Skip to content

test

test #35

Workflow file for this run

name: test
on:
push:
pull_request:
schedule:
- cron: '51 3 * * 6' # Runs at 03:51, only on Saturday
jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: ["ubuntu", "macos", "windows"]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: crystal-lang/install-crystal@v1
with:
crystal: latest
- name: ubuntu
if: ${{ matrix.os == 'ubuntu' }}
uses: coactions/setup-xvfb@v1
with:
run: |
sudo apt-get install -y xsel
crystal spec
- name: mac
if: ${{ matrix.os == 'macos' }}
run: crystal spec
- name: windows
if: ${{ matrix.os == 'windows' }}
run: crystal spec