-
Notifications
You must be signed in to change notification settings - Fork 21
135 lines (121 loc) · 6 KB
/
build-qt6.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
name: "Build the manylinux_2_28-based image with LIMA compiled with Qt6 installed workflow"
on:
push:
branches:
- master
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
MANYLINUX_TAG: "2022-10-25-fbea779"
PYTHON_VERSION: "3.7"
PYTHON_SHORT_VERSION: "cp37-cp37m"
PYTHON_WHEEL_VERSION: "cp37-abi3"
PYTHON_FULL_VERSION: "3.7.15"
QT_VERSION_MAJOR: "6"
QT_VERSION_MINOR: "5"
QT_VERSION_PATCH: "2"
QT_VERSION: "6.5"
QT_FULL_VERSION: "6.5.2"
PYSIDE_VERSION: "6"
LLVM_VERSION: "13.0.1"
GCC_VERSION: "11.2.1"
jobs:
# manylinux_2_28_with_boost:
# name: "Build the manylinux_2_28-based image with Boost"
# runs-on: ubuntu-latest
#
# steps:
# -
# name: Login to DockerHub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
#
# - name: "Checkout code"
# uses: actions/checkout@v3
#
# - name: "Build image"
# run: cd ./continuous_integration && docker build -f Dockerfile-manylinux_2_28_with_boost --build-arg MANYLINUX_TAG="${MANYLINUX_TAG}" -t aymara/manylinux_2_28_with_boost:latest .
#
# - name: "Push image"
# run: docker push aymara/manylinux_2_28_with_boost:latest
# manylinux_2_28_with_qt6:
# name: "Build the manylinux_2_28-based image with Qt6"
# runs-on: ubuntu-latest
#
# steps:
# -
# name: Login to DockerHub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
#
# - name: "Checkout code"
# uses: actions/checkout@v3
#
# - name: "Build image"
# run: cd ./continuous_integration && docker build -f Dockerfile-manylinux_2_28_with_qt6 --build-arg MANYLINUX_TAG="${MANYLINUX_TAG}" --build-arg GCC_VERSION="${GCC_VERSION}" --build-arg LLVM_VERSION="${LLVM_VERSION}" --build-arg QT_FULL_VERSION="${QT_FULL_VERSION}" --build-arg QT_VERSION_MAJOR="${QT_VERSION_MAJOR}" --build-arg QT_VERSION_MINOR="${QT_VERSION_MINOR}" --build-arg QT_VERSION_PATCH="${QT_VERSION_PATCH}" --build-arg QT_VERSION="${QT_VERSION}" --build-arg PYTHON_VERSION=${PYTHON_VERSION} --build-arg PYTHON_SHORT_VERSION=${PYTHON_SHORT_VERSION} --build-arg PYTHON_FULL_VERSION=${PYTHON_FULL_VERSION} -t aymara/manylinux_2_28_with_qt${QT_VERSION}:latest .
#
# - name: "Push image"
# run: docker push aymara/manylinux_2_28_with_qt${QT_VERSION}:latest
#
# manylinux_2_28_with_qt_and_pyside:
# name: "Build the manylinux_2_28_with_qt_and_pyside-based imaged necessary for lima-python"
# #needs: manylinux_2_28_with_llvm
# needs: manylinux_2_28_with_qt6
# runs-on: ubuntu-latest
#
# steps:
# -
# name: Login to DockerHub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
#
# - name: "Checkout code"
# uses: actions/checkout@v3
#
# - name: "Free disk space"
# run: bash ./free-diskspace.sh
#
# - name: "Build image"
# run: cd ./continuous_integration && docker build --progress=plain -f Dockerfile-manylinux_2_28_with_qt_and_pyside --build-arg MANYLINUX_TAG="${MANYLINUX_TAG}" --build-arg GCC_VERSION="${GCC_VERSION}" --build-arg LLVM_VERSION="${LLVM_VERSION}" --build-arg QT_FULL_VERSION="${QT_FULL_VERSION}" --build-arg QT_VERSION_MAJOR="${QT_VERSION_MAJOR}" --build-arg QT_VERSION_MINOR="${QT_VERSION_MINOR}" --build-arg QT_VERSION_PATCH="${QT_VERSION_PATCH}" --build-arg QT_VERSION="${QT_VERSION}" --build-arg PYSIDE_VERSION="${PYSIDE_VERSION}" --build-arg PYTHON_VERSION=${PYTHON_VERSION} --build-arg PYTHON_SHORT_VERSION=${PYTHON_SHORT_VERSION} --build-arg PYTHON_FULL_VERSION=${PYTHON_FULL_VERSION} -t aymara/manylinux_2_28_with_qt${QT_VERSION}_and_pyside-python${PYTHON_VERSION}:latest .
#
# - name: "Push image"
# run: docker push aymara/manylinux_2_28_with_qt${QT_VERSION}_and_pyside-python${PYTHON_VERSION}:latest
manylinux_2_28_lima-manylinux:
name: "Build the manylinux_2_28-based image with LIMA compiled with Qt6 installed job"
runs-on: ubuntu-latest
# needs: manylinux_2_28_with_qt_and_pyside
# needs: manylinux_2_28_with_boost
steps:
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: "Checkout code"
uses: actions/checkout@v3
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/[email protected]
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: false
swap-storage: true
- name: "Build image"
run: cd ./continuous_integration && docker build -f Dockerfile-manylinux_2_28_with_qt6_lima-manylinux --build-arg MANYLINUX_TAG="${MANYLINUX_TAG}" --build-arg GCC_VERSION="${GCC_VERSION}" --build-arg LLVM_VERSION="${LLVM_VERSION}" --build-arg QT_FULL_VERSION="${QT_FULL_VERSION}" --build-arg QT_VERSION_MAJOR="${QT_VERSION_MAJOR}" --build-arg QT_VERSION_MINOR="${QT_VERSION_MINOR}" --build-arg QT_VERSION_PATCH="${QT_VERSION_PATCH}" --build-arg QT_VERSION="${QT_VERSION}" --build-arg PYSIDE_VERSION="${PYSIDE_VERSION}" --build-arg PYTHON_VERSION=${PYTHON_VERSION} --build-arg PYTHON_SHORT_VERSION=${PYTHON_SHORT_VERSION} --build-arg PYTHON_FULL_VERSION=${PYTHON_FULL_VERSION} -t aymara/lima-manylinux_2_28-qt${QT_VERSION}-python${PYTHON_VERSION}:latest .
- name: "Push image"
run: docker push aymara/lima-manylinux_2_28-qt${QT_VERSION}-python${PYTHON_VERSION}:latest