Skip to content

实现 strict_parameters_of_rand 选项, 用于控制是否对 rand 脚本指令进行严格的参数检查 (感谢 "差记性的… #54

实现 strict_parameters_of_rand 选项, 用于控制是否对 rand 脚本指令进行严格的参数检查 (感谢 "差记性的…

实现 strict_parameters_of_rand 选项, 用于控制是否对 rand 脚本指令进行严格的参数检查 (感谢 "差记性的… #54

name: Build servers with Clang
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(fromJSON('["refs/heads/master", "refs/heads/develop"]'), github.ref) }}
on:
workflow_dispatch:
push:
branches:
- master
- develop
paths:
- '.github/workflows/**'
- 'tools/integration/**'
- 'src/**'
- '3rdparty/**'
- '**/CMakeLists.txt'
pull_request:
paths:
- '.github/workflows/**'
- 'tools/integration/**'
- 'src/**'
- '3rdparty/**'
- '**/CMakeLists.txt'
jobs:
build:
if: ${{ !contains(fromJSON('["ci-skip", "skip-ci", "ql-skip", "skip-ql", "no-ci"]'), github.event.head_commit.message) }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
clang: [7, 8, 9, 10, 11] #, 12, 13]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Update & Install dependencies
run: |
./tools/integration/retry.sh sudo apt-get update -y
./tools/integration/retry.sh sudo apt-get install libmysqlclient-dev zlib1g-dev libpcre3-dev -y
- name: Setup Clang compiler
uses: egor-tensin/setup-clang@v1
with:
version: ${{ matrix.clang }}
- name: Build Pandas
run: |
mkdir cbuild && cd cbuild
cmake -G "Unix Makefiles" .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_EXTRA_BUILDBOT_CODE=ON
make -j2