Commit f1b4fc09 authored by Bodigrim's avatar Bodigrim Committed by Xia Li-yao
Browse files

Switch FreeBSD CI to Cirrus

parent 86e986d1
freebsd_instance:
image_family: freebsd-13-0
task:
install_script: pkg install -y ghc hs-cabal-install git
script:
- cabal update
- cabal test --test-show-details=direct
name: freebsd-ci
on:
push:
branches:
- master
pull_request: {}
defaults:
run:
shell: bash
jobs:
build:
# This job intentionally is using macOS because at the time of the writing
# Linux and Windows environments don't have the necessary virtualization features.
# See https://github.com/vmactions/freebsd-vm#under-the-hood.
runs-on: macos-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Test
id: build-freebsd
uses: vmactions/freebsd-vm@v0.1.4
with:
usesh: true
mem: 4096
prepare: pkg install -y ghc hs-cabal-install git
# Virtual machine does not allow to leverage cache
# and is quite slow, so only tests are run.
run: |
cabal update
cabal test --test-show-details=direct
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment