1919 description : " debug builds"
2020 required : true
2121 type : string
22+ script_name :
23+ description : " script name"
24+ required : true
25+ type : string
2226
2327jobs :
2428 build :
@@ -30,12 +34,18 @@ jobs:
3034 fail-fast : false
3135 matrix :
3236 container_id : [debian, ubuntu]
33- container_codename : [bookworm, noble]
37+ container_codename : [bullseye, bookworm, focal, jammy , noble]
3438 qbt_build_tool : ["cmake", "qmake"]
3539 qbt_libtorrent_version : ["1.2", "2.0"]
3640 exclude :
41+ - container_id : debian
42+ container_codename : focal
43+ - container_id : debian
44+ container_codename : jammy
3745 - container_id : debian
3846 container_codename : noble
47+ - container_id : ubuntu
48+ container_codename : bullseye
3949 - container_id : ubuntu
4050 container_codename : bookworm
4151 include :
@@ -45,10 +55,13 @@ jobs:
4555 qbt_qt_version : " 6"
4656
4757 name : " ${{ matrix.container_id }}-${{ matrix.container_codename }}-${{ matrix.qbt_libtorrent_version }}-qt-${{ matrix.qbt_qt_version }}-${{ matrix.qbt_build_tool }}"
58+
4859 env : # host
4960 qbt_build_dir : " qbt-build"
5061 disable_qt5 : " "
5162 artifact_name : " ${{ matrix.container_id }}-${{ matrix.container_codename }}-${{ matrix.qbt_libtorrent_version }}-qt-${{ matrix.qbt_qt_version }}-${{ matrix.qbt_build_tool }}-nox"
63+ script_name : ${{ inputs.script_name }}
64+
5265 container :
5366 image : ${{ matrix.container_id }}:${{ matrix.container_codename }}
5467 env : # container
@@ -83,10 +96,10 @@ jobs:
8396 persist-credentials : false
8497
8598 - name : Bootstrap deps ${{ inputs.distinct_id }}
86- run : bash qbt-nox-static.bash bootstrap_deps
99+ run : bash ${script_name} bootstrap_deps
87100
88101 - name : Bootstrap build ${{ inputs.distinct_id }}
89- run : bash qbt-nox-static.bash -bs-a
102+ run : bash ${script_name} -bs-a
90103
91104 - name : Host - qBittorrent v5 transition ${{ inputs.distinct_id }}
92105 run : |
@@ -100,47 +113,47 @@ jobs:
100113
101114 - name : glibc ${{ inputs.distinct_id }}
102115 if : env.disable_qt5 != 'yes'
103- run : bash qbt-nox-static.bash glibc
116+ run : bash ${script_name} glibc
104117
105118 - name : zlib ${{ inputs.distinct_id }}
106119 if : env.disable_qt5 != 'yes'
107- run : bash qbt-nox-static.bash zlib
120+ run : bash ${script_name} zlib
108121
109122 - name : iconv ${{ inputs.distinct_id }}
110123 if : env.disable_qt5 != 'yes'
111- run : bash qbt-nox-static.bash iconv
124+ run : bash ${script_name} iconv
112125
113126 - name : icu ${{ inputs.distinct_id }}
114127 if : env.disable_qt5 != 'yes'
115- run : bash qbt-nox-static.bash icu
128+ run : bash ${script_name} icu
116129
117130 - name : openssl ${{ inputs.distinct_id }}
118131 if : env.disable_qt5 != 'yes'
119- run : bash qbt-nox-static.bash openssl
132+ run : bash ${script_name} openssl
120133
121134 - name : boost ${{ inputs.distinct_id }}
122135 if : env.disable_qt5 != 'yes'
123- run : bash qbt-nox-static.bash boost
136+ run : bash ${script_name} boost
124137
125138 - name : libtorrent ${{ inputs.distinct_id }}
126139 if : env.disable_qt5 != 'yes'
127- run : bash qbt-nox-static.bash libtorrent
140+ run : bash ${script_name} libtorrent
128141
129142 - name : double conversion ${{ inputs.distinct_id }}
130143 if : env.disable_qt5 != 'yes' && matrix.qbt_build_tool == 'cmake'
131- run : bash qbt-nox-static.bash double_conversion
144+ run : bash ${script_name} double_conversion
132145
133146 - name : qtbase ${{ inputs.distinct_id }}
134147 if : env.disable_qt5 != 'yes'
135- run : bash qbt-nox-static.bash qtbase
148+ run : bash ${script_name} qtbase
136149
137150 - name : qttools ${{ inputs.distinct_id }}
138151 if : env.disable_qt5 != 'yes'
139- run : bash qbt-nox-static.bash qttools
152+ run : bash ${script_name} qttools
140153
141154 - name : qbittorrent ${{ inputs.distinct_id }}
142155 if : env.disable_qt5 != 'yes'
143- run : bash qbt-nox-static.bash qbittorrent
156+ run : bash ${script_name} qbittorrent
144157
145158 - name : Upload ${{ env.artifact_name }} artifacts ${{ inputs.distinct_id }}
146159 if : env.disable_qt5 != 'yes'
0 commit comments