Skip to content

Commit 2ee95b4

Browse files
committed
Add i386 and arm64 CI configs
1 parent a390fde commit 2ee95b4

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.drone.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
kind: pipeline
2+
name: arm64
3+
platform: { os: linux, arch: arm64 }
4+
steps:
5+
- name: Test
6+
image: buildpack-deps:focal
7+
commands:
8+
- export LC_ALL=C.UTF-8
9+
- apt-get update -y
10+
- apt-get install -y ghc cabal-install
11+
- ghc --version
12+
- cabal --version
13+
- cabal new-update
14+
- cabal new-test
15+
---
16+
kind: pipeline
17+
name: i386
18+
platform: { os: linux, arch: amd64 }
19+
steps:
20+
- name: Test
21+
image: i386/ubuntu
22+
commands:
23+
- export LC_ALL=C.UTF-8
24+
- apt-get update -y
25+
- apt-get install -y ghc cabal-install
26+
- ghc --version
27+
- cabal --version
28+
- cabal update
29+
- cabal install --dependencies-only --enable-tests
30+
- cabal test

0 commit comments

Comments
 (0)