From f1b4fc09edbbebb0f60f3d6d84dd46be71800dae Mon Sep 17 00:00:00 2001 From: Bodigrim Date: Thu, 10 Jun 2021 19:15:20 +0100 Subject: [PATCH] Switch FreeBSD CI to Cirrus --- .cirrus.yml | 8 ++++++++ .github/workflows/freebsd.yml | 31 ------------------------------- 2 files changed, 8 insertions(+), 31 deletions(-) create mode 100644 .cirrus.yml delete mode 100644 .github/workflows/freebsd.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 00000000..872a5f13 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,8 @@ +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 diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml deleted file mode 100644 index e85db39e..00000000 --- a/.github/workflows/freebsd.yml +++ /dev/null @@ -1,31 +0,0 @@ -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