forked from commontk/PythonQt
-
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.
Add CentOS7 docker image to CI (commontk#84)
- uses gcc 4.8.5, Python 3.6.8 and Qt 5.9.7 - also remove gcc 9 build (keep gcc 7 and 11)
- Loading branch information
1 parent
d13f424
commit f8eb068
Showing
4 changed files
with
77 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM centos:7 | ||
|
||
RUN yum update -y | ||
RUN yum groupinstall "Development Tools" -y | ||
RUN yum install -y \ | ||
which \ | ||
python3 \ | ||
python3-debug \ | ||
qt5-qtbase-* \ | ||
qt5-qttools* \ | ||
qt5-qtsvg \ | ||
qt5-qtsvg-devel \ | ||
qt5-qtxmlpatterns \ | ||
qt5-qtxmlpatterns-devel \ | ||
qt5-qtmultimedia \ | ||
qt5-qtmultimedia-devel \ | ||
qt5-qt3d \ | ||
qt5-qt3d-devel | ||
|
||
RUN mkdir -p work | ||
|
||
COPY . work/ | ||
|
||
WORKDIR work | ||
|
||
ARG QT_SELECT=qt5 | ||
RUN uname -a; gcc --version | grep "gcc"; python3 --version; qmake-qt5 --version | ||
|
||
RUN qmake-qt5 -r PythonQt.pro \ | ||
PYTHON_VERSION=$(python3 --version | cut -d " " -f 2 | cut -d "." -f1,2) \ | ||
PYTHON_DIR=$(which python3 | xargs dirname | xargs dirname) | ||
|
||
CMD ["make"] |
4 changes: 1 addition & 3 deletions
4
.github/workflows/Dockerfile_gcc → ...ub/workflows/dockerfiles/Dockerfile_gcc11
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,36 @@ | ||
FROM gcc:7 | ||
|
||
RUN apt-get update && apt-get install -y --force-yes \ | ||
python3 \ | ||
python3-dev \ | ||
libpython3-dev \ | ||
qtbase5-dev \ | ||
qtbase5-private-dev \ | ||
qtchooser \ | ||
qt5-qmake \ | ||
qtbase5-dev-tools \ | ||
qttools5-dev \ | ||
qtdeclarative5-dev \ | ||
libqt5svg5* \ | ||
libqt5xmlpatterns5* \ | ||
libqt5multimedia5* \ | ||
libqt5multimediawidgets5* \ | ||
libqt5qml5* \ | ||
libqt5quickwidgets5* \ | ||
qtmultimedia5-dev | ||
RUN apt-get clean | ||
|
||
RUN mkdir -p work | ||
|
||
COPY . work/ | ||
|
||
WORKDIR work | ||
|
||
ARG QT_SELECT=qt5 | ||
RUN uname -a; gcc --version | grep "gcc"; python3 --version; qmake --version | ||
|
||
RUN qmake -r PythonQt.pro \ | ||
PYTHON_VERSION=$(python3 --version | cut -d " " -f 2 | cut -d "." -f1,2) \ | ||
PYTHON_DIR=$(which python3 | xargs dirname | xargs dirname) | ||
|
||
CMD ["make"] |