diff options
-rw-r--r-- | .gitlab-ci.yml | 5 | ||||
-rw-r--r-- | Dockerfile | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aa6af61e..37115863 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,6 @@ +variables: + GIT_SUBMODULE_STRATEGY: recursive + dockerize: image: docker services: @@ -16,4 +19,4 @@ test_dockerize: script: - docker build -t $CI_REGISTRY_IMAGE . except: - - master
\ No newline at end of file + - master @@ -1,11 +1,14 @@ FROM fedora:36 as builder RUN dnf install -y cmake gcc-c++ make libxml2-devel physfs-devel sqlite-devel \ - lua-devel libsigc++20-devel + lua-devel libsigc++20-devel rapidjson-devel ADD . /source -WORKDIR /source +WORKDIR /source/libs/uWebSockets +RUN make default + +WORKDIR /source RUN cmake . -DCMAKE_INSTALL_PREFIX=/app RUN make -j$(nproc) install |