forked from haskell/text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
45 lines (45 loc) · 1.05 KB
/
.drone.yml
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
38
39
40
41
42
43
44
45
kind: pipeline
name: arm64-ghc9.0
platform: { os: linux, arch: arm64 }
steps:
- name: Test
image: haskell:9.0
commands:
- uname -a # check platform
- getconf LONG_BIT # check bitness
- cabal update
- cabal new-test
---
kind: pipeline
name: arm64-ghc9.2
platform: { os: linux, arch: arm64 }
steps:
- name: Test
image: haskell:9.2
commands:
- uname -a # check platform
- getconf LONG_BIT # check bitness
- cabal update
- cabal new-test
---
kind: pipeline
name: i386
platform: { os: linux, arch: amd64 }
steps:
- name: Test
image: i386/ubuntu
commands:
- export LC_ALL=C.UTF-8
- apt-get update -y
- apt-get install -y ghc cabal-install zlib1g-dev libgmp-dev build-essential curl
# Build and install a modern cabal, because 1.24
# does not support cxx-sources or cxx-options.
- cabal --version # 1.24
- cabal update
- cabal install cabal-install
- export PATH="$HOME/.cabal/bin:$PATH"
- hash -r
# Now with a modern cabal
- cabal --version # 3.0
- cabal new-update
- cabal new-test