4141 - uses : actions/checkout@v4
4242 - id : set-matrix
4343 name : build matrix
44- uses : rusher/ mariadb-test -build-matrix@main
44+ uses : mariadb-corporation/connector-ci -build-matrix@main
4545 with :
46- additional-matrix : ' []'
46+ additional-matrix : ' [{"name": "MariaDB 11.4 (local) - windows 2025", "os": "windows-2025", "db-type": "community", "db-tag": "11.4"},{"name": "MariaDB 11.4 32bits (local) - windows 2025", "os": "windows-2025", "db-type": "community", "db-tag": "11.4", "arch": "32"} ]'
4747
4848 ci :
4949 name : ${{ matrix.name }}
5959
6060 - name : Setup Test Environment
6161 id : setup-env
62- uses : rusher/ mariadb-test -setup@master
62+ uses : mariadb-corporation/connector-ci -setup@master
6363 with :
6464 node-version : ${{ matrix.node }}
6565 db-type : ${{ matrix.db-type }}
@@ -96,13 +96,19 @@ jobs:
9696 run : |
9797 choco install wixtoolset -y
9898
99- - name : make windows
100- if : ${{ startsWith(matrix.os, 'windows') }}
99+ - name : make windows 64bits
100+ if : ${{ startsWith(matrix.os, 'windows') && (matrix.arch != '32' || !matrix.arch) }}
101101 shell : powershell
102102 run : |
103103 cmake -DCONC_WITH_MSI=OFF -DCONC_WITH_UNIT_TESTS=OFF -DWITH_MSI=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_SSL=SCHANNEL . #-DDIRECT_LINK_TESTS=1 .
104104 cmake --build . --config RelWithDebInfo
105105
106+ - name : make windows 32bits
107+ if : ${{ startsWith(matrix.os, 'windows') && startsWith(matrix.arch, '32') }}
108+ run : |
109+ cmake -A Win32 -DCONC_WITH_MSI=OFF -DCONC_WITH_UNIT_TESTS=OFF -DWITH_MSI=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_SSL=SCHANNEL . #-DDIRECT_LINK_TESTS=1 .
110+ cmake --build . --config RelWithDebInfo
111+
106112 - name : Install generated MSI (Windows only)
107113 if : startsWith(matrix.os, 'windows')
108114 shell : powershell
@@ -117,6 +123,7 @@ jobs:
117123 #$procMain.WaitForExit()
118124 #$procLog.Kill()
119125 }
126+ Start-Sleep -Milliseconds 500
120127 Get-OdbcDriver -Platform "64-bit"
121128 Add-OdbcDsn -Name $env:TEST_DSN -DriverName "MariaDB ODBC 3.1 Driver" -DsnType "User" -SetPropertyValue @( "SERVER=$env:TEST_SERVER", "DATABASE=$env:TEST_SCHEMA", "USER=$env:TEST_UID", "PASSWORD=$env:TEST_PASSWORD", "PORT=$env:TEST_PORT" )
122129
0 commit comments