Skip to content

Commit b7c39d7

Browse files
committed
Dump some jobs from github actions
Dump from ninja-build
1 parent 1246723 commit b7c39d7

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

.github/workflows/cmake-single-os.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,6 @@ jobs:
5050
- name: build package
5151
run: cmake --build . --config Release --target package -j
5252

53-
- name: setup mysql for unit tests
54-
if: runner.os != 'Windows'
55-
uses: shogo82148/actions-setup-mysql@v1
56-
with:
57-
my-cnf: |
58-
innodb_redo_log_capacity=4G
59-
innodb_buffer_pool_size=4G
60-
skip-log-bin
61-
62-
- name: unit test
63-
if: runner.os != 'Windows'
64-
run: |
65-
mysql -uroot -e "create database sbtest"
66-
SBTEST_MYSQL_ARGS=" --mysql-user=root --mysql-host=127.0.0.1 " cmake --build . --config Release --target test
67-
6853
- name: upload package(Windows)
6954
if: runner.os == 'Windows'
7055
uses: actions/upload-artifact@v6
@@ -111,7 +96,7 @@ jobs:
11196
- name: configure and build
11297
run: |
11398
mkdir build
114-
cmake -S . -B build -GNinja -DCMAKE_COMPILE_WARNING_AS_ERROR=1 -DCMAKE_BUILD_TYPE=Debug -DWITH_PGSQL=1 -DCMAKE_C_COMPILER=${{ runner.os == 'Linux' && 'clang' || 'gcc' }}
99+
cmake -S . -B build -GNinja -DCMAKE_COMPILE_WARNING_AS_ERROR=1 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=${{ runner.os == 'Linux' && 'clang' || 'gcc' }}
115100
cmake --build build
116101
117102
- uses: seanmiddleditch/gha-setup-vsdevenv@master

0 commit comments

Comments
 (0)