Skip to content

Commit

Permalink
Create fedora.dockerfile
Browse files Browse the repository at this point in the history
Enable use of container for tests on Fedora linux
  • Loading branch information
bkmgit authored Dec 16, 2023
1 parent 0ec4704 commit d491c24
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/docker/fedora.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM fedora:latest
RUN dnf -y update
RUN dnf -y install check-devel cmake git gcc-c++ python3-sphinx
RUN dnf clean all
COPY GOTCHA GOTCHA
WORKDIR /GOTCHA
RUN cmake . -B build -DGOTCHA_ENABLE_TESTS=ON -DDEPENDENCIES_PREINSTALLED=TRUE -DCMAKE_BUILD_TYPE=PROFILE -DGOTCHA_ENABLE_WARNING_ERROR=ON
RUN cmake --build build
RUN ctest --test-dir build -VV

0 comments on commit d491c24

Please sign in to comment.