mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
tests: Add support for Fedora 29
This commit is contained in:
parent
9518cdc1e9
commit
ea2c4d96b4
3 changed files with 38 additions and 0 deletions
|
@ -6,6 +6,10 @@ matrix:
|
||||||
os: linux
|
os: linux
|
||||||
env: CONTAINER=fedora28
|
env: CONTAINER=fedora28
|
||||||
services: docker
|
services: docker
|
||||||
|
- name: "Fedora 29"
|
||||||
|
os: linux
|
||||||
|
env: CONTAINER=fedora28
|
||||||
|
services: docker
|
||||||
- name: "Debian Stable"
|
- name: "Debian Stable"
|
||||||
os: linux
|
os: linux
|
||||||
env: CONTAINER=debianstable
|
env: CONTAINER=debianstable
|
||||||
|
|
|
@ -8,6 +8,14 @@ services:
|
||||||
security_opt:
|
security_opt:
|
||||||
- label=type:container_runtime_t
|
- label=type:container_runtime_t
|
||||||
tty: true
|
tty: true
|
||||||
|
test-fedora29:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: test/docker/fedora29
|
||||||
|
network_mode: "host"
|
||||||
|
security_opt:
|
||||||
|
- label=type:container_runtime_t
|
||||||
|
tty: true
|
||||||
test-ubuntu1604:
|
test-ubuntu1604:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
|
26
test/docker/fedora29
Normal file
26
test/docker/fedora29
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
FROM fedora:29
|
||||||
|
|
||||||
|
RUN dnf update -y
|
||||||
|
RUN dnf install python git gcc gcc-c++ cmake make gnutls-devel libuuid-devel -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 ; cat all.log | grep 'not ok' ; ./problems"]
|
Loading…
Add table
Add a link
Reference in a new issue