-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (31 loc) · 952 Bytes
/
ci.yml
File metadata and controls
37 lines (31 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: CI
on: [push]
jobs:
xmonad:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt install -y libx11-dev libxft-dev libxinerama-dev libxrandr-dev libxss-dev haskell-stack
- name: Fetch xmonad and xmonad-contrib
run: |
cd .config/xmonad
git clone --branch v0.18.0 https://github.com/xmonad/xmonad
git clone --branch v0.18.1 https://github.com/xmonad/xmonad-contrib
- name: Build xmonad
run: |
cd .config/xmonad
stack install --allow-newer
- name: Build xmonad.hs
run: |
cd .config/xmonad
stack install split
stack ghc -- \
--make xmonad.hs \
-i \
-ilib \
-fforce-recomp \
-main-is main \
-v0 \
-o "$1"