Remove extensions unused with GHC2024
This commit is contained in:
parent
e2debec6d7
commit
1d81fea1a3
29
.gitea/workflows/deploy.yaml
Normal file
29
.gitea/workflows/deploy.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
name: Deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: buildenv
|
||||||
|
steps:
|
||||||
|
- name: Set up environment
|
||||||
|
run: |
|
||||||
|
apt-get update -y
|
||||||
|
apt-get upgrade -y
|
||||||
|
apt-get install -y pkg-config liblzma-dev
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: cabal update
|
||||||
|
- run: cabal build
|
||||||
|
- name: Archive
|
||||||
|
run: |
|
||||||
|
DISTRIBUTION=$(echo $GITHUB_REF_NAME | awk '{ gsub(/^v/, "slackbuilder-"); print $0 }')
|
||||||
|
cabal install --installdir=$DISTRIBUTION/bin --install-method=copy
|
||||||
|
strip $DISTRIBUTION/bin/slackbuilder
|
||||||
|
tar Jcvf $DISTRIBUTION.tar.xz $DISTRIBUTION
|
||||||
|
- uses: akkuman/gitea-release-action@v1
|
||||||
|
with:
|
||||||
|
files: "*.tar.xz"
|
||||||
|
token: ${{ secrets.API_KEY }}
|
@ -49,19 +49,13 @@ common dependencies
|
|||||||
unordered-containers ^>= 0.2.20,
|
unordered-containers ^>= 0.2.20,
|
||||||
vector ^>= 0.13.0,
|
vector ^>= 0.13.0,
|
||||||
word8 ^>= 0.1.3
|
word8 ^>= 0.1.3
|
||||||
default-language: GHC2021
|
default-language: GHC2024
|
||||||
default-extensions:
|
default-extensions:
|
||||||
DataKinds
|
|
||||||
DuplicateRecordFields
|
DuplicateRecordFields
|
||||||
ExplicitForAll
|
|
||||||
LambdaCase
|
|
||||||
NamedFieldPuns
|
|
||||||
OverloadedStrings
|
OverloadedStrings
|
||||||
RecordWildCards
|
RecordWildCards
|
||||||
QuasiQuotes
|
QuasiQuotes
|
||||||
TemplateHaskell
|
TemplateHaskell
|
||||||
TupleSections
|
|
||||||
TypeApplications
|
|
||||||
|
|
||||||
library
|
library
|
||||||
import: dependencies
|
import: dependencies
|
||||||
|
Loading…
x
Reference in New Issue
Block a user