ws{,s}_{client,server}_session: Cleanup #468
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: C/C++ CI | |
on: | |
push: | |
branches: | |
- master | |
- releases/* | |
pull_request: | |
branches: | |
- master | |
jobs: | |
ubuntu: | |
name: Ubuntu native build (x86-64) | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: >- | |
sudo apt-get update && sudo apt-get install -y | |
--no-install-recommends g++ ninja-build python3 python3-pip pkgconf | |
libedit-dev libpcre2-dev libssl-dev zlib1g-dev libunwind-dev uuid-dev | |
- name: Install newest meson | |
run: >- | |
sudo pip3 install meson # --break-system-packages | |
- name: Build and install submodules | |
run: >- | |
git submodule update --init | |
&& (cd asteria && ./makedeb.sh && sudo dpkg -i *.deb) | |
&& (cd http-parser && ./makedeb.sh && sudo dpkg -i *.deb) | |
&& (cd taxon && ./makedeb.sh && sudo dpkg -i *.deb) | |
- name: Run tests (minimal) | |
run: >- | |
meson setup -Denable-debug-checks=true build_ci | |
-Denable-{mysql,mongo,redis}=false && meson test -Cbuild_ci | |
- name: Install full dependencies | |
run: >- | |
sudo apt-get install -y lib{mysqlclient,mongoc,hiredis}-dev | |
&& (cd libmongoc-dev-symlinks && ./makedeb.sh && sudo dpkg -i *.deb) | |
- name: Run tests (full) | |
run: >- | |
meson setup --reconfigure -Denable-debug-checks=true build_ci | |
&& meson test -Cbuild_ci |