@@ -419,7 +419,7 @@ jobs:
419
419
runs-on : ubuntu-24.04
420
420
strategy :
421
421
matrix :
422
- mariadb : [ verylatest, 11_4, 10_11, 10_4 ]
422
+ mariadb : [ verylatest, 11_8, 11_4, 10_11, 10_6 ]
423
423
runtime : [ async-std, tokio ]
424
424
tls : [ native-tls, rustls-aws-lc-rs, rustls-ring, none ]
425
425
needs : check
@@ -446,7 +446,7 @@ jobs:
446
446
env:
447
447
DATABASE_URL: mysql://root:password@localhost:3306/sqlx
448
448
SQLX_OFFLINE_DIR: .sqlx
449
- RUSTFLAGS: --cfg mariadb_ ${{ matrix.mariadb }}
449
+ RUSTFLAGS: --cfg mariadb=" ${{ matrix.mariadb }}"
450
450
451
451
# Run the `test-attr` test again to cover cleanup.
452
452
- run : >
@@ -457,7 +457,7 @@ jobs:
457
457
env:
458
458
DATABASE_URL: mysql://root:password@localhost:3306/sqlx
459
459
SQLX_OFFLINE_DIR: .sqlx
460
- RUSTFLAGS: --cfg mariadb_ ${{ matrix.mariadb }}
460
+ RUSTFLAGS: --cfg mariadb=" ${{ matrix.mariadb }}"
461
461
462
462
# Remove test artifacts
463
463
- run : cargo clean -p sqlx
@@ -471,7 +471,7 @@ jobs:
471
471
env:
472
472
SQLX_OFFLINE: true
473
473
SQLX_OFFLINE_DIR: .sqlx
474
- RUSTFLAGS: -D warnings --cfg mariadb_ ${{ matrix.mariadb }}
474
+ RUSTFLAGS: -D warnings --cfg mariadb=" ${{ matrix.mariadb }}"
475
475
476
476
# Test macros in offline mode (still needs DATABASE_URL to run)
477
477
- run : >
@@ -483,7 +483,7 @@ jobs:
483
483
DATABASE_URL: mysql://root:password@localhost:3306/sqlx
484
484
SQLX_OFFLINE: true
485
485
SQLX_OFFLINE_DIR: .sqlx
486
- RUSTFLAGS: --cfg mariadb_ ${{ matrix.mariadb }}
486
+ RUSTFLAGS: --cfg mariadb=" ${{ matrix.mariadb }}"
487
487
488
488
# client SSL authentication
489
489
@@ -500,4 +500,4 @@ jobs:
500
500
--features any,mysql,macros,migrate,_unstable-all-types,runtime-${{ matrix.runtime }},tls-${{ matrix.tls }}
501
501
env :
502
502
DATABASE_URL : mysql://root@localhost:3306/sqlx?sslmode=verify_ca&ssl-ca=.%2Ftests%2Fcerts%2Fca.crt&ssl-key=.%2Ftests%2Fcerts%2Fkeys%2Fclient.key&ssl-cert=.%2Ftests%2Fcerts%2Fclient.crt
503
- RUSTFLAGS : --cfg mariadb_ ${{ matrix.mariadb }}
503
+ RUSTFLAGS : --cfg mariadb=" ${{ matrix.mariadb }}"
0 commit comments