Skip to content

Commit

Permalink
use ninja in Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
iTrooz committed Dec 27, 2023
1 parent 2a1f4f1 commit a7ed02b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dist/linux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ FROM ubuntu:22.04

RUN apt update
RUN apt install -y qt6-base-dev
RUN apt install -y cmake make gcc g++
RUN apt install -y cmake ninja-build gcc g++
RUN apt install -y libgl-dev libvulkan-dev # idk why, but without this, QtWidgets is not found

RUN apt install zlib1g-dev

COPY . .

ARG BUILD_TYPE=Debug
RUN cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -B build
RUN cmake --build build -j 4
RUN cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -B build -G "Ninja"
RUN cmake --build build


FROM scratch
Expand Down

0 comments on commit a7ed02b

Please sign in to comment.