Fixed CELL_NOSTACK making mob ai not being able to reach target under certain conditions #1630
Workflow file for this run
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: mariadb | |
on: [workflow_call, pull_request] | |
env: | |
MYSQL_DATABASE: 'ragnarok' | |
MYSQL_USER: 'ragnarok' | |
MYSQL_PASSWORD: 'ragnarok' | |
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' | |
DEBIAN_COMMON_PACKAGES: make zlib1g-dev libpcre3-dev git python3 libzstd-dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
strategy: | |
matrix: | |
CC: [gcc] | |
RENEWAL: [""] | |
CLIENT_TYPE: [""] | |
HTTPLIB: ["", "--with-http_parser=llhttp"] | |
SANITIZER: ["--disable-manager", "--enable-sanitize=full"] | |
PACKET_VERSION: ["--enable-packetver=20221024"] | |
MYSQL: ["10.2", "latest"] | |
# github.head_ref will stop previous runs in the same PR (if in a PR) | |
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop) | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.CC }}-${{ matrix.RENEWAL }}-${{ matrix.CLIENT_TYPE }}-${{ matrix.HTTPLIB }}-${{ matrix.SANITIZER }}-${{ matrix.PACKET_VERSION}}-${{ matrix.MYSQL }} | |
cancel-in-progress: true | |
container: | |
image: debian:unstable | |
services: | |
mysql: | |
image: mariadb:${{ matrix.MYSQL }} | |
ports: | |
- 33306:3306 | |
env: | |
MYSQL_DATABASE: 'ragnarok' | |
MYSQL_USER: 'ragnarok' | |
MYSQL_PASSWORD: 'ragnarok' | |
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' | |
options: >- | |
--health-cmd="healthcheck.sh --connect --innodb_initialized" | |
--health-interval=5s | |
--health-timeout=2s | |
--health-retries=3 | |
env: | |
INSTALL_PACKAGES: ${{ matrix.CC }} mariadb-client libmariadbclient-dev-compat | |
SQLHOST: mysql | |
CC: ${{ matrix.CC }} | |
CONFIGURE_FLAGS: CC=${{ matrix.CC }} --enable-debug --enable-Werror --enable-buildbot ${{ matrix.RENEWAL }} ${{ matrix.HTTPLIB }} ${{ matrix.CLIENT_TYPE }} ${{ matrix.SANITIZER }} ${{ matrix.PACKET_VERSION }} | |
PACKET_VERSION: ${{ matrix.PACKET_VERSION }} | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
- name: info | |
run: | | |
uname -a | |
- name: install packages | |
run: | | |
./tools/ci/retry.sh apt-get update | |
./tools/ci/retry.sh apt-get install -y -qq $INSTALL_PACKAGES $DEBIAN_COMMON_PACKAGES | |
- name: init database | |
run: | | |
./tools/ci/travis.sh importdb ragnarok ragnarok ragnarok $SQLHOST | |
- name: get plugins | |
run: | | |
./tools/ci/travis.sh getplugins || true | |
- name: build | |
run: | | |
./tools/ci/travis.sh build $CONFIGURE_FLAGS | |
- name: test | |
run: | | |
./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST | |
- name: extra test | |
if: env.PACKET_VERSION != '--enable-packetver=20130724' | |
run: | | |
./tools/ci/travis.sh extratest | |
- name: extra test | |
if: env.PACKET_VERSION != '--enable-packetver=20130724' | |
run: | | |
./tools/ci/travis.sh extratest |