Skip to content

Commit 0ac76fd

Browse files
committed
Try to fix CI
1 parent abedb57 commit 0ac76fd

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/ci.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
matrix:
2525
rust: ["stable", "beta", "nightly"]
2626
backend: ["postgres", "mysql", "sqlite"]
27-
os: [ubuntu-latest, macos-13, macos-14, windows-2019]
27+
os: [ubuntu-latest, macos-13, macos-15, windows-2019]
2828
runs-on: ${{ matrix.os }}
2929
steps:
3030
- name: Checkout sources
@@ -121,7 +121,7 @@ jobs:
121121
echo "DATABASE_URL=postgres://postgres@localhost/" >> $GITHUB_ENV
122122
123123
- name: Install postgres (MacOS M1)
124-
if: matrix.os == 'macos-14' && matrix.backend == 'postgres'
124+
if: matrix.os == 'macos-15' && matrix.backend == 'postgres'
125125
run: |
126126
brew install postgresql@14
127127
brew services start postgresql@14
@@ -138,24 +138,24 @@ jobs:
138138
- name: Install mysql (MacOS)
139139
if: matrix.os == 'macos-13' && matrix.backend == 'mysql'
140140
run: |
141-
brew install mariadb@11.2
142-
/usr/local/opt/mariadb@11.2/bin/mysql_install_db
143-
/usr/local/opt/mariadb@11.2/bin/mysql.server start
141+
brew install mariadb@11.4
142+
/usr/local/opt/mariadb@11.4/bin/mysql_install_db
143+
/usr/local/opt/mariadb@11.4/bin/mysql.server start
144144
sleep 3
145-
/usr/local/opt/mariadb@11.2/bin/mysqladmin -u runner password diesel
146-
/usr/local/opt/mariadb@11.2/bin/mysql -e "create database diesel_test; create database diesel_unit_test; grant all on \`diesel_%\`.* to 'runner'@'localhost';" -urunner
145+
/usr/local/opt/mariadb@11.4/bin/mysqladmin -u runner password diesel
146+
/usr/local/opt/mariadb@11.4/bin/mysql -e "create database diesel_test; create database diesel_unit_test; grant all on \`diesel_%\`.* to 'runner'@'localhost';" -urunner
147147
echo "DATABASE_URL=mysql://runner:diesel@localhost/diesel_test" >> $GITHUB_ENV
148148
149149
- name: Install mysql (MacOS M1)
150-
if: matrix.os == 'macos-14' && matrix.backend == 'mysql'
150+
if: matrix.os == 'macos-15' && matrix.backend == 'mysql'
151151
run: |
152-
brew install mariadb@11.2
153-
ls /opt/homebrew/opt/mariadb@11.2
154-
/opt/homebrew/opt/mariadb@11.2/bin/mysql_install_db
155-
/opt/homebrew/opt/mariadb@11.2/bin/mysql.server start
152+
brew install mariadb@11.4
153+
ls /opt/homebrew/opt/mariadb@11.4
154+
/opt/homebrew/opt/mariadb@11.4/bin/mysql_install_db
155+
/opt/homebrew/opt/mariadb@11.4/bin/mysql.server start
156156
sleep 3
157-
/opt/homebrew/opt/mariadb@11.2/bin/mysqladmin -u runner password diesel
158-
/opt/homebrew/opt/mariadb@11.2/bin/mysql -e "create database diesel_test; create database diesel_unit_test; grant all on \`diesel_%\`.* to 'runner'@'localhost';" -urunner
157+
/opt/homebrew/opt/mariadb@11.4/bin/mysqladmin -u runner password diesel
158+
/opt/homebrew/opt/mariadb@11.4/bin/mysql -e "create database diesel_test; create database diesel_unit_test; grant all on \`diesel_%\`.* to 'runner'@'localhost';" -urunner
159159
echo "DATABASE_URL=mysql://runner:diesel@localhost/diesel_test" >> $GITHUB_ENV
160160
161161
- name: Install postgres (Windows)

0 commit comments

Comments
 (0)