Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Sep 6, 2023
1 parent 97d7c47 commit 210215e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ninja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
os: [windows-latest,ubuntu-latest, macos-latest]
mysql-distribution: [mysql, mariadb]
runs-on: ${{ matrix.os }}
name: Build and smoke test on ${{ matrix.mysql-distribution }} on ${{ matrix.os }}
name: ${{ matrix.mysql-distribution }} / ${{ matrix.os }}
env:
COMMON_SYSBENCH_PARAMS: --mysql-user=root --mysql-socket=/tmp/mysql.sock --time=60 --table-size=100000 --report-interval=1 --histogram
steps:
Expand All @@ -21,12 +21,12 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE=1 brew install mysql-client
brew link --force mysql-client
- name: configure
run: cmake . -GNinja
run: cmake .
- name: Build
run: cmake --build . --config Release
- name: test_install
run: |
cmake --install . --prefix install_dir
cmake --install . --config Release --prefix install_dir
- name: update environment (Windows)
if: contains(matrix.os, 'windows')
run: |
Expand All @@ -39,14 +39,14 @@ jobs:
cat $GITHUB_PATH
- name: setup-server
uses: shogo82148/actions-setup-mysql@v1
env:
env: # set temp directory, so that datadir ends up on fast disk
TMPDIR: ${{ runner.temp }}
TMP: ${{ runner.temp }}
TEMP: ${{ runner.temp }}
with:
distribution: ${{ matrix.mysql-distribution }}
my-cnf: |
${{ matrix.mysql-distribution == 'mysql' && 'innodb_redo_log_capacity' || 'innodb_log_file_size' }}=1G
${{ matrix.mysql-distribution == 'mysql' && 'innodb_redo_log_capacity' || 'innodb_log_file_size' }}=4G
innodb_buffer_pool_size=512MB
max_allowed_packet=16MB
skip-log-bin
Expand All @@ -59,7 +59,7 @@ jobs:
- name: sysbench oltp_read_write prepare
run: sysbench oltp_read_write --mysql-user=root --mysql-host=127.0.0.1 --mysql-port=3306 --table-size=100000 prepare
- name: sysbench oltp_point_select run
run: sysbench oltp_point_select ${{ env.COMMON_SYSBENCH_PARAMS }} --threads=100 run
run: sysbench oltp_point_select ${{ env.COMMON_SYSBENCH_PARAMS }} --threads=10 run
- name: sysbench oltp_update_index run single thread innodb_flush_log_at_trx_commit=1
run: |
mysql -uroot -e "set global innodb_flush_log_at_trx_commit=1"
Expand Down

0 comments on commit 210215e

Please sign in to comment.