forked from nicbarker/clay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix const inits for gcc 9.4 and add docker tests for old gcc compiler (…
- Loading branch information
Showing
6 changed files
with
55 additions
and
32 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
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
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,7 @@ | ||
services: | ||
gcc: | ||
build: | ||
context: ../ | ||
dockerfile: tests/gcc/9.4/Dockerfile | ||
volumes: | ||
- /tmp/clay/_deps |
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,19 @@ | ||
FROM --platform=linux/amd64 ubuntu:20.04 | ||
|
||
RUN apt update -y | ||
RUN DEBIAN_FRONTEND=noninteractive apt install -y build-essential | ||
RUN DEBIAN_FRONTEND=noninteractive apt install -y wget | ||
WORKDIR /tmp/ | ||
RUN wget https://github.com/Kitware/CMake/releases/download/v3.28.4/cmake-3.28.4-linux-x86_64.tar.gz | ||
RUN tar zxvf cmake-3.28.4-linux-x86_64.tar.gz | ||
RUN DEBIAN_FRONTEND=noninteractive apt install -y git | ||
RUN DEBIAN_FRONTEND=noninteractive apt install -y libwayland-dev | ||
RUN DEBIAN_FRONTEND=noninteractive apt install -y pkg-config | ||
RUN DEBIAN_FRONTEND=noninteractive apt install -y libxkbcommon-dev | ||
RUN DEBIAN_FRONTEND=noninteractive apt install -y xorg-dev | ||
|
||
ADD . /tmp/clay | ||
|
||
WORKDIR /tmp/clay | ||
|
||
CMD /tmp/cmake-3.28.4-linux-x86_64/bin/cmake . && /tmp/cmake-3.28.4-linux-x86_64/bin/cmake --build . |
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 @@ | ||
docker compose build && docker compose up && echo "Tests complete." |