diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-04-28 19:33:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-28 19:33:23 +0200 |
commit | 27f25172e9dd70c0df518530e1b5e82391b1b7d7 (patch) | |
tree | e50dd97f419c2a5ad3e5efd3ff5c4cab70e849f7 /.github/workflows/main.yml | |
parent | 0dd0193ebaf1e016a2cfbaec9acdcc93c62e692a (diff) | |
parent | 066df7f741848a2c594a5cbb05cef5af9075d5a1 (diff) | |
download | profani-tty-27f25172e9dd70c0df518530e1b5e82391b1b7d7.tar.gz |
Merge branch 'master' into add_stamp_settings
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index daae84d0..dc73b14b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,3 +34,26 @@ jobs: # Ensure that "keg-only" Homebrew versions are used. PKG_CONFIG_PATH: "/usr/local/opt/ncurses/lib/pkgconfig:/usr/local/opt/expat/lib/pkgconfig:/usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:$PKG_CONFIG_PATH" run: ./ci-build.sh + + code-style: + runs-on: ubuntu-20.04 + name: Check coding style + continue-on-error: true + steps: + - uses: actions/checkout@v2 + - name: install dependencies + run: | + sudo apt update + sudo apt install -y --no-install-recommends autoconf autoconf-archive automake expect gcc git libcmocka-dev libcurl3-dev libgcrypt-dev libglib2.0-dev libgpgme11-dev libgtk2.0-dev libmicrohttpd-dev libncursesw5-dev libnotify-dev libotr5-dev libreadline-dev libsignal-protocol-c-dev libssl-dev libtool libxss-dev make pkg-config python3-dev python-dev-is-python3 libsqlite3-dev + - name: Install libstrophe + run: | + git clone https://github.com/strophe/libstrophe ../libstrophe + cd ../libstrophe && ./bootstrap.sh && ./configure && make -j$(nproc) && sudo make install + - name: Configure + run: | + ./bootstrap.sh + ./configure + - name: Check style + run: | + make format + git diff --exit-code |