Skip to content

Commit

Permalink
update env; apply to ultrawide screen
Browse files Browse the repository at this point in the history
  • Loading branch information
WeissP committed Sep 15, 2024
1 parent 7951c8a commit aa010ea
Show file tree
Hide file tree
Showing 17 changed files with 912 additions and 227 deletions.
45 changes: 44 additions & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,47 @@ jobs:
- name: Build weiss-xmonad
run: nix build -L
- name: Build weiss-xmonad shell
run: nix build -L '.#devShells.x86_64-linux.default'
run: nix build -L '.#devShells.x86_64-linux.default'

stack-build:
name: Stack ${{ matrix.resolver }} on ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
resolver: [ nightly, lts-19, lts-18, lts-17, lts-16, lts-15, lts-14 ]
os: [ macos-latest, ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
enable-stack: true
## For some reason, stack caching seems to be very brittle, and cause a lot of build failures.
## I haven't investigated very thoroughly what to best do about this, but for now, I'm just not caching stack builds.
- run: stack init --resolver ${{ matrix.resolver }}
- run: stack build --resolver ${{ matrix.resolver }} --only-dependencies
- run: stack build --resolver ${{ matrix.resolver }}
- run: stack build --resolver ${{ matrix.resolver }} --haddock --test --bench --no-run-benchmarks

cabal-build:
name: Cabal with GHC ${{ matrix.ghc }} on ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ghc: [ '8.6.5', '8.8.3', '8.10.7', '9.0.2', '9.2.2' ]
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
- uses: actions/cache@v2
with:
path: |
~/.cabal
dist-newstyle
key: cabal-cache-${{ matrix.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal') }}
- run: cabal new-build --only-dependencies
- run: cabal new-build
- run: cabal new-test --test-show-details=direct
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# WeissXmonad
[![WeissXmonad on hackage](https://img.shields.io/hackage/v/WeissXmonad)](http://hackage.haskell.org/package/WeissXmonad)
[![WeissXmonad on Stackage Nightly](https://stackage.org/package/WeissXmonad/badge/nightly)](https://stackage.org/nightly/package/WeissXmonad)
# weiss-xmonad
[![weiss-xmonad on hackage](https://img.shields.io/hackage/v/weiss-xmonad)](http://hackage.haskell.org/package/weiss-xmonad)
[![weiss-xmonad on Stackage Nightly](https://stackage.org/package/weiss-xmonad/badge/nightly)](https://stackage.org/nightly/package/weiss-xmonad)

Generated with [template-haskell](https://github.com/jonascarpay/template-haskell)
4 changes: 4 additions & 0 deletions app/Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import WeissXMonad

main :: IO ()
main = WeissXMonad.runXmonad "/home/weiss/.config/xmobar"
7 changes: 0 additions & 7 deletions devshell.toml

This file was deleted.

Loading

0 comments on commit aa010ea

Please sign in to comment.