Skip to content

CI

CI #21

Workflow file for this run

name: CI
on:
pull_request:
schedule:
# Run daily at 8 PM UTC, after the nightlies are typically published.
- cron: '0 20 * * *'
workflow_dispatch:
jobs:
test:
name: package examples (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-15-intel
- windows-2025
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Zig
uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 # 2.2.1
with:
version: 0.16.0
use-cache: false
- name: Install Roc
uses: roc-lang/setup-roc@66d1ae2def87ec77b8670e9ac09c418df2f18c86
with:
# Installs the latest nightly from https://github.com/roc-lang/nightlies
version: nightly-new-compiler
- name: Run checks
run: ci/all_tests.sh