Update make.yml #9
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup | |
run: | | |
sudo apt update | |
sudo apt install -y g++ automake libboost-all-dev pkg-config | |
- name: setup uhttp-cc | |
run: | | |
wget https://github.com/cybergarage/uhttp-cc/archive/refs/tags/0.8.2.tar.gz | |
tar xvfz 0.8.2.tar.gz | |
pushd uhttp-cc-0.8.2 | |
./configure && sudo make install | |
popd | |
- name: configure | |
run: ./configure --enable-test --enable-examples | |
- name: make | |
run: make | |
- name: make check | |
run: make check || more test/unix/test-suite.log |