hstr/.github/workflows/build_ubuntu.yml

17 lines
492 B
YAML

name: Ubuntu unit tests
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install packages
run: sudo apt-get update && sudo apt install -y build-essential qttools5-dev-tools ccache libncursesw5-dev libreadline-dev
- name: Build lib and run unit tests using Unity test framework
run: cd test && qmake hstr-unit-tests.pro && make clean all && ./hstr-unit-tests