mirror of
https://github.com/dvorka/hstr.git
synced 2024-11-13 03:18:35 +08:00
17 lines
495 B
YAML
17 lines
495 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 qt5-default qt5-qmake 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
|