From 3d469771a549062be70f4e316680dac00a68d1d2 Mon Sep 17 00:00:00 2001 From: Michal Zielonka Date: Fri, 8 Oct 2021 14:42:51 +0200 Subject: try to add build action for freebsd + uptime plugin split --- .github/workflows/haskell.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 6c1fd1f..8b195ab 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -7,7 +7,6 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: matrix: @@ -55,3 +54,23 @@ jobs: sh ./travis.sh src - name: Run tests run: cabal test + + # build-freebsd: + # runs-on: macos-latest + # env: + # CONFIG: "--enable-tests --enable-benchmarks -fwith_xft -fwith_mpd" + + # steps: + # - uses: actions/checkout@v2 + + # - name: Install dependencies + # uses: vmactions/freebsd-vm@v0.1.5 + # with: + # usesh: true + # prepare: pkg install -y ghc hs-hlint xorg-libraries hs-cabal-install git autoconf + # run: | + # cabal update + # cabal build --dependencies-only $CONFIG + # cabal build $CONFIG + # hlint + # cabal test -- cgit v1.2.3