File tree Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM gcc:#GCC#
2+
3+ RUN apt-get update && apt-get install -y --force-yes \
4+ unzip \
5+ wget \
6+ python3 \
7+ python3-dev \
8+ libpython3-dev \
9+ qtbase5-dev \
10+ qtbase5-private-dev \
11+ qtchooser \
12+ qt5-qmake \
13+ qtbase5-dev-tools \
14+ qttools5-dev \
15+ qtdeclarative5-dev \
16+ libqt5svg5* \
17+ libqt5xmlpatterns5* \
18+ libqt5multimedia5* \
19+ libqt5multimediawidgets5* \
20+ libqt5qml5* \
21+ libqt5quickwidgets5* \
22+ qtmultimedia5-dev
23+ RUN apt-get clean
24+
25+ RUN mkdir -p work
26+
27+ COPY . work/
28+
29+ WORKDIR work
30+
31+ ARG QT_SELECT=qt5
32+ RUN uname -a; gcc --version | grep "gcc"; python3 --version; qmake --version
33+
34+ RUN qmake -r PythonQt.pro \
35+ PYTHON_VERSION=$(python3 --version | cut -d " " -f 2 | cut -d "." -f1,2) \
36+ PYTHON_DIR=$(which python3 | xargs dirname | xargs dirname)
37+
38+ CMD ["make"]
Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ runs-on : [ubuntu-latest]
17+ gcc : [7, 9, 11]
18+
19+ steps :
20+ - uses : actions/checkout@v3
21+ - name : Setup docker container
22+ shell : bash
23+ run : |
24+ cat $GITHUB_WORKSPACE/.github/workflows/Dockerfile_gcc | sed 's/#GCC#/${{ matrix.gcc }}/' > ./Dockerfile
25+ docker build -t pythonqt -f ./Dockerfile .
26+ - name : Run docker
27+ run : docker run -t pythonqt
You can’t perform that action at this time.
0 commit comments