abstract_future: Release waiters in forward order #18
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-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: >- | |
sudo apt-get install -y --no-install-recommends autoconf automake | |
libtool g++ gettext make libpcre2-dev libssl-dev zlib1g-dev | |
libmysqlclient-dev libmongoc-dev | |
- name: Build and install asteria | |
run: | | |
git submodule update --init asteria | |
pushd asteria | |
autoreconf -ifv | |
./configure --disable-repl | |
make -j$(nproc) | |
rm -f *.deb | |
./makedeb.sh | |
sudo dpkg -i asteria_*.deb | |
popd | |
- name: Build and install http-parser | |
run: | | |
git submodule update --init http-parser | |
pushd http-parser | |
autoreconf -ifv | |
./configure | |
make -j$(nproc) | |
rm -f *.deb | |
./makedeb.sh | |
sudo dpkg -i libhttp-parser_*.deb | |
popd | |
- name: Run tests | |
run: ./ci/build.sh |