summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorMichal Zielonka <michal.zielonka.8001@gmail.com>2021-10-08 14:42:51 +0200
committerMichal Zielonka <michal.zielonka.8001@gmail.com>2021-10-08 15:44:01 +0200
commit3d469771a549062be70f4e316680dac00a68d1d2 (patch)
tree8e0683da0f40d74fd224873e4df062db30fc41f5 /.github/workflows
parentb99a8a6833a1b38882b463fd72784cd6d6f91d9e (diff)
downloadxmobar-3d469771a549062be70f4e316680dac00a68d1d2.tar.gz
xmobar-3d469771a549062be70f4e316680dac00a68d1d2.tar.bz2
try to add build action for freebsd + uptime plugin split
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/haskell.yml21
1 files changed, 20 insertions, 1 deletions
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