-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into codechecker
- Loading branch information
Showing
127 changed files
with
3,647 additions
and
2,042 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM archlinux/archlinux:base-devel | ||
FROM archlinux:base-devel | ||
|
||
WORKDIR /app | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
FROM ubuntu:18.04 | ||
|
||
# Install updates to base image | ||
RUN \ | ||
apt-get update \ | ||
&& apt-get install -y \ | ||
git \ | ||
wget \ | ||
sudo \ | ||
ninja-build \ | ||
software-properties-common | ||
|
||
RUN add-apt-repository ppa:ubuntu-toolchain-r/test | ||
RUN apt-get update | ||
RUN apt-get install -y g++-10 | ||
|
||
RUN apt-get purge -y --auto-remove cmake | ||
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null | ||
RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' | ||
RUN apt-get install -y cmake | ||
|
||
WORKDIR /home/docker | ||
|
||
RUN git clone --depth=1 https://github.com/contour-terminal/contour.git | ||
WORKDIR /home/docker/contour | ||
RUN SYSDEP_ASSUME_YES=ON ./scripts/install-deps.sh | ||
RUN cmake --version | ||
RUN g++-10 --version | ||
RUN cmake -S . -B build -G Ninja \ | ||
-D CMAKE_CXX_STANDARD=20 \ | ||
-D CMAKE_CXX_COMPILER=g++-10 | ||
|
||
RUN cmake --build build -- -j3 | ||
RUN ./build/src/crispy/crispy_test | ||
RUN ./build/src/vtparser/vtparser_test | ||
RUN ./build/src/vtbackend/vtbackend_test | ||
RUN cd build && cpack -G DEB -V . | ||
RUN mv build/*.deb package.deb | ||
RUN mv build/*.ddeb package.ddeb |
Oops, something went wrong.