Update onLongPollError override in examples and README.md #173
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-ubuntu | |
# build on pushes and pull requests on main branch | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
architecture: [x64] #architecture: [x86, x64] | |
build-platform: [x64] #build-platform: [x86, x64] | |
steps: | |
# https://github.com/actions/checkout | |
- uses: actions/checkout@v4 | |
- name: Update apt repositories & install deps | |
run: | | |
sudo apt update | |
sudo apt-get install cmake g++ make ninja-build libssl-dev | |
- name: Ensure deps are installed | |
run: | | |
cmake --version | |
g++ --version | |
make --version | |
ninja --version | |
- name: Build & run CText flow | |
run: | | |
mkdir cmake-build-debug && cd cmake-build-debug | |
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON | |
export TESTS_BOT_TOKEN=${{ secrets.TESTS_BOT_TOKEN }} | |
ninja tests/all -j$(nproc) | |
ninja test |