@@ -225,6 +225,30 @@ jobs:
225
225
New-Item -Type Directory $buildTreesPath
226
226
}
227
227
228
+ # The tom_testdata.exe, FetchContent, and Manual methods below need Qt installed and to be
229
+ # accessible on the system
230
+ - name : ${{ matrix.qt.name }} prepare environment
231
+ run : |
232
+ "$env:TINY_QT_ROOT\${{ matrix.qt.version }}\msvc2019_64\bin" >> $env:GITHUB_PATH
233
+
234
+ # The msvc2022-qt6-drivers.yml workflow calls migrate:fresh and it calls the db:wipe internally,
235
+ # so we need a freshly migrated MySQL database, I should use fresh database anyway
236
+ - name : Prepare MySQL database
237
+ working-directory : E:/dotfiles/bin
238
+ run : |
239
+ .\tom_testdata.exe migrate:fresh --database=tinyorm_testdata_tom_mysql --seed --drop-views
240
+ env :
241
+ DB_MYSQL_CHARSET : ${{ secrets.DB_MYSQL_CHARSET }}
242
+ DB_MYSQL_COLLATION : ${{ secrets.DB_MYSQL_COLLATION }}
243
+ DB_MYSQL_DATABASE : ${{ secrets.DB_MYSQL_DATABASE }}
244
+ DB_MYSQL_HOST : ${{ secrets.DB_MYSQL_HOST_SELF }}
245
+ DB_MYSQL_PASSWORD : ${{ secrets.DB_MYSQL_PASSWORD_SELF }}
246
+ DB_MYSQL_SSL_CA : ${{ secrets.DB_MYSQL_DATA_SELF_WINDOWS }}/ca.pem
247
+ DB_MYSQL_SSL_CERT : ${{ secrets.DB_MYSQL_DATA_SELF_WINDOWS }}/client-cert.pem
248
+ DB_MYSQL_SSL_KEY : ${{ secrets.DB_MYSQL_DATA_SELF_WINDOWS }}/client-key.pem
249
+ DB_MYSQL_SSL_MODE : ${{ secrets.DB_MYSQL_SSL_MODE }}
250
+ DB_MYSQL_USERNAME : ${{ secrets.DB_MYSQL_USERNAME_SELF }}
251
+
228
252
# VcpkgManifest method with the VCPKG_APPLOCAL_DEPS (no install or deployment)
229
253
# ---
230
254
@@ -278,12 +302,6 @@ jobs:
278
302
DB_MYSQL_SSL_MODE : ${{ secrets.DB_MYSQL_SSL_MODE }}
279
303
DB_MYSQL_USERNAME : ${{ secrets.DB_MYSQL_USERNAME_SELF }}
280
304
281
- # The FetchContent and Manual methods below need Qt installed and to be accessible on the system
282
-
283
- - name : ${{ matrix.qt.name }} prepare environment
284
- run : |
285
- "$env:TINY_QT_ROOT\${{ matrix.qt.version }}\msvc2019_64\bin" >> $env:GITHUB_PATH
286
-
287
305
# Prepare ccache
288
306
#
289
307
# The TinyORM build in the Manual method and the FetchContent method are using the ccache,
0 commit comments