Skip to content

Commit

Permalink
Windows port - more mingw tests
Browse files Browse the repository at this point in the history
run oltp against MySQL 8.0
  • Loading branch information
vaintroub committed Jul 28, 2023
1 parent 7c128ea commit e882474
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e882474

Please sign in to comment.