fixed MySQLStatement::sub_getColumnAsBlob 未正确获取缓存长度 #33
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
name: ubuntu-build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache packages | |
id: cache-xmake-ubuntu | |
uses: actions/cache@v4 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: ~/.xmake | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- uses: xmake-io/github-action-setup-xmake@v1 | |
with: | |
xmake-version: 2.9.2 | |
actions-cache-folder: '.xmake-cache' | |
actions-cache-key: 'ubuntu' | |
- name: config | |
run: | | |
xmake f -c -k shared -y -vD --mo=y --http_client_zip=y --http_client_ssl=y | |
- name: build | |
run: | | |
xmake -b unit-test | |
- name: test | |
run: | | |
xmake r unit-test | |