socket: Add possiblity to skip enc/dec #1132
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 TgBot++ (Windows) | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sys: [mingw64, ucrt64] # clang64 | |
name: "🚧 ${{ matrix.sys }}" | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- name: '🧰 Checkout' | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: 'Setup MSYS2' | |
uses: msys2/[email protected] | |
with: | |
msystem: ${{matrix.sys}} | |
update: true | |
install: >- | |
git | |
make | |
pacboy: >- | |
toolchain:p | |
cmake:p | |
ninja:p | |
boost:p | |
pcre:p | |
libxml2:p | |
libpng:p | |
libwebp:p | |
libjpeg:p | |
opencv:p | |
libgit2:p | |
gtest:p | |
fmt:p | |
- name: 'Setup submodule' | |
run: | | |
git submodule update --init | |
- name: '🚧 Build TgBot++' | |
run: | | |
mkdir build | |
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Debug -DTGBOT_ENABLE_TESTING=ON . | |
cmake --build build -j4 | |
- name: Run Tests | |
run: | | |
cd build | |
ctest --output-on-failure --timeout 30 |