mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Replace Fedora 28 and Fedora 29 by Fedora 31 and Fedora 32
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
60c138b959
commit
1308a124bb
4 changed files with 14 additions and 20 deletions
31
test/docker/fedora31
Normal file
31
test/docker/fedora31
Normal file
|
@ -0,0 +1,31 @@
|
|||
FROM fedora:31
|
||||
|
||||
RUN dnf update -y
|
||||
RUN dnf install -y \
|
||||
cmake \
|
||||
gcc-c++ \
|
||||
glibc-locale-source \
|
||||
git \
|
||||
make \
|
||||
man \
|
||||
python3 \
|
||||
python3-dateutil
|
||||
|
||||
# Setup environment
|
||||
RUN alternatives --install /usr/bin/python python /usr/bin/python3 10
|
||||
RUN ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime
|
||||
|
||||
# Setup timewarrior
|
||||
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
|
||||
|
||||
# Setup tests
|
||||
RUN make -j2 test || true
|
||||
WORKDIR /root/code/test/
|
||||
CMD ["bash", "-c", "./problems --summary ; cat all.log | grep 'not ok' ; ./problems ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version"]
|
Loading…
Add table
Add a link
Reference in a new issue