mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Add PHP 8.4 to test matrix, and reorganize github CI configuration
This commit is contained in:
parent
ab242e9ebf
commit
6184797b22
3 changed files with 56 additions and 12 deletions
14
.github/workflows/setup-mysql.sh
vendored
Normal file
14
.github/workflows/setup-mysql.sh
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
AUTH="-uroot -proot"
|
||||
|
||||
# Start MySQL
|
||||
sudo systemctl start mysql.service
|
||||
|
||||
# Create default database
|
||||
sudo mysql $AUTH -e "CREATE DATABASE rhymix CHARSET utf8mb4 COLLATE utf8mb4_unicode_ci"
|
||||
sudo mysql $AUTH -e "CREATE USER rhymix@localhost IDENTIFIED WITH mysql_native_password BY 'rhymix'"
|
||||
sudo mysql $AUTH -e "GRANT ALL ON rhymix.* to rhymix@localhost; FLUSH PRIVILEGES"
|
||||
|
||||
# Check MySQL version
|
||||
sudo mysql $AUTH -e "SELECT VERSION()"
|
||||
Loading…
Add table
Add a link
Reference in a new issue