aboutsummaryrefslogtreecommitdiff
path: root/deps/lightening/.gitlab-ci.yml
blob: 955a8c83c9e37d30cb173afd70dde8999dfb11d3 (plain) (blame)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
image: debian:stable

before_script:
  - apt-get update -qq
  - apt-get install -y
      make qemu binfmt-support qemu-user-static qemu-user
  - update-binfmts --enable

x86-64:
  stage: test
  script:
    - dpkg --add-architecture amd64
    - apt-get update -qq
    - apt-get install -y libc6-dev:amd64 gcc
    - make -C tests test-native

i686:
  stage: test
  script:
    - dpkg --add-architecture i386
    - apt-get update -qq
    - apt-get install -y gcc-i686-linux-gnu libc6-dev-i386-cross libc6:i386
    - make -C tests test-ia32 CC_IA32=i686-linux-gnu-gcc

aarch64:
  stage: test
  script:
    - dpkg --add-architecture arm64
    - apt-get update -qq
    - apt-get install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross libc6:arm64
    - make -C tests test-aarch64 CC_AARCH64=aarch64-linux-gnu-gcc

armhf:
  stage: test
  script:
    - dpkg --add-architecture armhf
    - apt-get update -qq
    - apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libc6:armhf
    - make -C tests test-armv7 CC_ARMv7="arm-linux-gnueabihf-gcc -marm"

armhf-thumb:
  stage: test
  script:
    - dpkg --add-architecture armhf
    - apt-get update -qq
    - apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libc6:armhf
    - make -C tests test-armv7 CC_ARMv7="arm-linux-gnueabihf-gcc -mthumb"

mipsel:
  stage: test
  script:
    - dpkg --add-architecture mipsel
    - apt-get update -qq
    - apt-get install -y gcc-mipsel-linux-gnu libc6-dev-mipsel-cross libc6:mipsel
    - make -C tests test-mipsel CC_MIPSEL="mipsel-linux-gnu-gcc"

mips64el:
  stage: test
  script:
    - dpkg --add-architecture mips64el
    - apt-get update -qq
    - apt-get install -y gcc-mips64el-linux-gnuabi64 libc6-dev-mips64el-cross libc6:mips64el
    - make -C tests test-mips64el CC_MIPS64EL="mips64el-linux-gnuabi64-gcc"

ppc64el:
  stage: test
  script:
    - dpkg --add-architecture ppc64el
    - apt-get update -qq
    - apt-get install -y gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross libc6:ppc64el
    - make -C tests test-ppc64le CC_PPC64LE="powerpc64le-linux-gnu-gcc"