THRIFT-5833: Add TProcessorError #1815
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: 'Build with CMake' | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
env: | |
BUILD_DEPS: bison flex g++ libboost-all-dev libevent-dev libssl-dev make cmake | |
permissions: | |
contents: read | |
jobs: | |
compiler: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -yq | |
sudo apt-get install -y --no-install-recommends $BUILD_DEPS | |
- name: Generate makefile using CMake | |
run: | | |
mkdir cmake_build | |
cd cmake_build | |
cmake .. \ | |
-DBUILD_COMPILER=ON \ | |
-DBUILD_LIBRARIES=ON \ | |
-DWITH_JAVA=ON \ | |
-DWITH_PYTHON=OFF \ | |
-DWITH_NODEJS=OFF | |
- name: Run make | |
run: | | |
cd cmake_build | |
cmake --build . | |
- name: Run pack | |
run: | | |
cd cmake_build | |
cpack | |
- name: Run test | |
run: | | |
cd cmake_build | |
ctest -VV |