Merge pull request #6 from Ajatt-Tools/refactor #4
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: Linux build | |
jobs: | |
build_and_test: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
- run: sudo apt-get update | |
- uses: awalsh128/cache-apt-pkgs-action@v1 | |
with: | |
packages: gcc-10 clang clang-format clang-tidy cppcheck liblmdb-dev libmecab-dev libgtk-3-dev libx11-dev libcurl4-openssl-dev libnotify-dev libzip-dev | |
version: 1.0 | |
- run: gcc --version | |
- run: make | |
on: | |
push: | |
paths: | |
- 'src/**' | |
- 'include/**' | |
pull_request: | |
paths: | |
- 'src/**' | |
- 'include/**' | |
workflow_dispatch: |