Uncommented fields in Message object since they're available now. #30
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 valgrind | |
- name: Ensure deps are installed | |
run: | | |
cmake --version | |
g++ --version | |
make --version | |
ninja --version | |
- name: Export TESTS_BOT_TOKEN to env | |
run: export TESTS_BOT_TOKEN=${{ secrets.TESTS_BOT_TOKEN }} | |
- name: Build & run CText flow | |
run: | | |
mkdir cmake-build-debug && cd cmake-build-debug | |
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON | |
ninja tests/all -j$(nproc) | |
ninja test |