ci: Replace F28 and F29 with F31, F32 and F33

This commit is contained in:
Tomas Babej 2020-12-06 01:35:47 -05:00
parent 88ea8544f6
commit 53e39760ab
No known key found for this signature in database
GPG key ID: B0747C6578F7D2F5
5 changed files with 50 additions and 12 deletions

View file

@ -6,13 +6,17 @@ matrix:
os: linux
env: CONTAINER=centos7
services: docker
- name: "Fedora 28"
- name: "Fedora 31"
os: linux
env: CONTAINER=fedora28
env: CONTAINER=fedora31
services: docker
- name: "Fedora 29"
- name: "Fedora 32"
os: linux
env: CONTAINER=fedora28
env: CONTAINER=fedora32
services: docker
- name: "Fedora 33"
os: linux
env: CONTAINER=fedora33
services: docker
- name: "Debian Stable"
os: linux

View file

@ -8,18 +8,26 @@ services:
security_opt:
- label=type:container_runtime_t
tty: true
test-fedora28:
test-fedora31:
build:
context: .
dockerfile: test/docker/fedora28
dockerfile: test/docker/fedora31
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-fedora29:
test-fedora32:
build:
context: .
dockerfile: test/docker/fedora29
dockerfile: test/docker/fedora32
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-fedora33:
build:
context: .
dockerfile: test/docker/fedora33
network_mode: "host"
security_opt:
- label=type:container_runtime_t

View file

@ -1,7 +1,7 @@
FROM fedora:28
FROM fedora:31
RUN dnf update -y
RUN dnf install python3 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime -y
RUN dnf install python3 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime glibc-langpack-en -y
# Setup language environment
ENV LC_ALL en_US.UTF-8

View file

@ -1,7 +1,7 @@
FROM fedora:29
FROM fedora:32
RUN dnf update -y
RUN dnf install python3 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime -y
RUN dnf install python3 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime glibc-langpack-en -y
# Setup language environment
ENV LC_ALL en_US.UTF-8

26
test/docker/fedora33 Normal file
View file

@ -0,0 +1,26 @@
FROM fedora:33
RUN dnf update -y
RUN dnf install python3 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime glibc-langpack-en -y
# Setup language environment
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
# Setup taskwarrior
ADD . /root/code/
WORKDIR /root/code/
RUN git clean -dfx
RUN git submodule init
RUN git submodule update
RUN cmake -DCMAKE_BUILD_TYPE=debug .
RUN make -j2
RUN make install
RUN task --version
# Setup tests
WORKDIR /root/code/test/
RUN make
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems"]