Housekeeping #302
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] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: update submodules | |
run: git submodule sync --recursive && git submodule update --init --force --recursive --depth=1 | |
- name: install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libpoppler-dev libpoppler-glib-dev libcairo2-dev libglib2.0-dev libjpeg-dev libcurl4-openssl-dev zlib1g-dev | |
- name: make | |
run: make -j$(nproc) | |
- name: make tests | |
run: make -j$(nproc) | |
working-directory: ./tests | |
- name: test | |
run: ./test | |
working-directory: ./tests | |
- name: analyze | |
run: make analyze | |
- name: tidy | |
run: make tidy |