Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Sep 5, 2023
1 parent 36f2ae3 commit e0b46b1
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/ninja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,19 @@ jobs:
run: |
echo "$PWD/install_dir/bin" >> $GITHUB_PATH
cat $GITHUB_PATH
- name: setup-server (Windows)
if: ${{ contains(matrix.os, 'windows') }}
uses: shogo82148/actions-setup-mysql@v1
- name: setup-server
env:
TEMP: D:\
TMP: D:\
with:
distribution: ${{ matrix.mysql-distribution }}
my-cnf: |
${{ 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
enable-named-pipe
socket=/tmp/mysql.sock
max_connections=1000
- name: setup-server (non-Windows)
if: ${{ !contains(matrix.os, 'windows') }}
uses: shogo82148/actions-setup-mysql@v1
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' }}=4G
innodb_buffer_pool_size=512MB
max_allowed_packet=16MB
skip-log-bin
${{ contains(matrix.os('windows') && '' || '#' }}enable-named-pipe
socket=/tmp/mysql.sock
max_connections=1000
- name: create database sbtest
Expand Down

0 comments on commit e0b46b1

Please sign in to comment.