File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : GHC Nightly
2
+
3
+ # Trigger the workflow on push or pull request, but only for the main branch
4
+ on :
5
+ pull_request :
6
+ push :
7
+ branches : ["main"]
8
+
9
+ jobs :
10
+ tests :
11
+ name : Tests on GHC Nightly
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+
16
+ - uses : haskell/ghcup-setup@v1
17
+
18
+ - name : Setup GHC Nightly
19
+ run : |
20
+ ghcup config add-release-channel https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-2025-0.0.7.yaml
21
+ ghcup install ghc latest-nightly
22
+ ghcup install cabal -f -u https://github.com/haskell/cabal/releases/download/cabal-head/cabal-head-Linux-x86_64.tar.gz head
23
+ ghcup set cabal head
24
+ cabal update
25
+
26
+ - name : Install libsodium-dev on ubuntu
27
+ run : |
28
+ sudo apt install libsodium-dev
29
+
30
+ - name : Build libsodium-bindings with pkg-config
31
+ run : |
32
+ cabal build --allow-newer --project-file=cabal.pkg-config.project -v2 libsodium-bindings
33
+
34
+ - name : Build sel with pkg-config
35
+ run : |
36
+ cabal build --allow-newer --project-file=cabal.pkg-config.project -v2 sel
37
+ cabal test --project-file=cabal.pkg-config.project sel
You can’t perform that action at this time.
0 commit comments