forked from akopytov/sysbench
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run oltp against MySQL 8.0
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,27 @@ jobs: | |
run: .\src\sysbench.exe --version | ||
- name: Sysbench help | ||
run: .\src\sysbench.exe --help | ||
- name: test_install | ||
run: | | ||
cmake --install . --prefix install_dir | ||
echo "$pwd\install_dir\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | ||
cat $env:GITHUB_PATH | ||
- name: actions-setup-mysql | ||
uses: shogo82148/[email protected] | ||
with: | ||
mysql-version: 'mysql-8.0' | ||
my-cnf: | | ||
innodb_log_file_size=256MB | ||
innodb_buffer_pool_size=512MB | ||
named-pipe=1 | ||
- name: create database sbtest | ||
run: mysql -uroot -e "create database sbtest" | ||
- name: sysbench oltp_read_write prepare | ||
run: sysbench oltp_read_write --mysql-user=root --table-size=100000 prepare | ||
- name: sysbench oltp_point_select run | ||
run: sysbench oltp_point_select --mysql-user=root --mysql-host=. --time=30 --table-size=100000 --threads=4 --report-interval=1 --histogram run | ||
- name: sysbench oltp_read_write run ssl | ||
run: sysbench oltp_read_write --mysql-user=root --time=30 --mysql-ssl=on --table-size=100000 --threads=4 --report-interval=1 --histogram run | ||
- name: sysbench oltp_read_write cleanup | ||
run: sysbench oltp_read_write --mysql-user=root cleanup | ||
|