Skip to content

Commit 97bb01c

Browse files
committed
CI: Enable large test suite in GitLab-CI
1 parent 857640d commit 97bb01c

File tree

3 files changed

+55
-8
lines changed

3 files changed

+55
-8
lines changed

.appveyor.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ install:
6262
- if [%COMPILER%]==[GCC] set "PATH=C:\msys64\mingw%ARCH%\bin;%PATH%"
6363

6464
build_script:
65+
# Clone the files for the large test suite
66+
# FIXME: git submodule isn't working with the MinGW environment:
67+
# fatal: 'submodule' appears to be a git command, but we were not able to execute it. Maybe git-submodule is broken?
68+
- if not [%COMPILER%]==[GCC] git submodule update --init --recursive
69+
6570
- mkdir build
6671
- cd build
6772

.gitlab-ci.yml

Lines changed: 49 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ variables:
1010

1111
I386_UBUNTU_BIONIC: "i386/ubuntu:bionic"
1212

13+
GIT_SUBMODULE_STRATEGY: recursive
14+
1315
stages:
1416
- test
1517

@@ -40,7 +42,7 @@ stages:
4042
paths:
4143
- "CMakeOutput.log"
4244

43-
debian:testing:
45+
debian:testing:meson:
4446
extends: ".meson_test"
4547
image: $AMD64_DEBIAN_TESTING
4648
before_script:
@@ -64,36 +66,76 @@ ubuntu:bionic:meson:
6466
- apt-get install -y gcc python3-pip ninja-build valgrind
6567
- pip3 install meson pytest
6668

67-
ubuntu:bionic:i386:
69+
ubuntu:bionic:cmake:
70+
extends: ".cmake_test"
71+
image: $AMD64_UBUNTU_BIONIC
72+
before_script:
73+
- apt-get update -y
74+
- apt-get install -y gcc make python3-pip valgrind
75+
- pip3 install pytest cmake
76+
77+
ubuntu:bionic:i386:meson:
6878
extends: ".meson_test"
6979
image: $I386_UBUNTU_BIONIC
7080
before_script:
7181
- apt-get update -y
7282
- apt-get install -y gcc python3-pip ninja-build valgrind
7383
- pip3 install meson pytest
7484

75-
fedora:30:
85+
ubuntu:bionic:i386:cmake:
86+
extends: ".cmake_test"
87+
image: $I386_UBUNTU_BIONIC
88+
before_script:
89+
- apt-get update -y
90+
- apt-get install -y gcc make python3-pip valgrind
91+
- pip3 install pytest cmake
92+
93+
fedora:30:meson:
7694
extends: ".meson_test"
7795
image: $AMD64_FEDORA_LATEST
7896
before_script:
7997
- dnf install -y gcc meson python3-pytest valgrind
8098

81-
fedora:rawhide:
99+
fedora:30:cmake:
100+
extends: ".cmake_test"
101+
image: $AMD64_FEDORA_LATEST
102+
before_script:
103+
- dnf install -y gcc cmake python3-pytest valgrind
104+
105+
fedora:rawhide:meson:
82106
extends: ".meson_test"
83107
image: $AMD64_FEDORA_RAWHIDE
84108
before_script:
85109
- dnf install -y gcc meson python3-pytest valgrind
86-
allow_failure: true
87110

88-
opensuse/leap:
111+
fedora:rawhide:cmake:
112+
extends: ".cmake_test"
113+
image: $AMD64_FEDORA_RAWHIDE
114+
before_script:
115+
- dnf install -y gcc cmake python3-pytest valgrind
116+
117+
opensuse/leap:meson:
89118
extends: ".meson_test"
90119
image: $AMD64_OPENSUSE_LEAP
91120
before_script:
92121
- zypper install -y gcc ninja python3-pip valgrind
93122
- pip3 install meson pytest
94123

95-
opensuse/tumbleweed:
124+
opensuse/leap:cmake:
125+
extends: ".cmake_test"
126+
image: $AMD64_OPENSUSE_LEAP
127+
before_script:
128+
- zypper install -y gcc cmake python3-pip valgrind
129+
- pip3 install pytest
130+
131+
opensuse/tumbleweed:meson:
96132
extends: ".meson_test"
97133
image: $AMD64_OPENSUSE_TUMBLEWEED
98134
before_script:
99135
- zypper install -y gcc meson python3-pytest valgrind
136+
137+
opensuse/tumbleweed:cmake:
138+
extends: ".cmake_test"
139+
image: $AMD64_OPENSUSE_TUMBLEWEED
140+
before_script:
141+
- zypper install -y gcc cmake python3-pytest valgrind

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "tests/input/bzip2-testfiles"]
22
path = tests/input/bzip2-testfiles
3-
url = [email protected]:bzip2/bzip2-testfiles.git
3+
url = ../bzip2-testfiles.git

0 commit comments

Comments
 (0)