diff --git a/.github/workflows/github.yml b/.github/workflows/github.yml new file mode 100644 index 0000000..2d4825c --- /dev/null +++ b/.github/workflows/github.yml @@ -0,0 +1,28 @@ +name: C/C++ CI + +on: + push: + branches: [ "*" ] + pull_request: + branches: [ "*" ] + +jobs: + build: + name: Ubuntu + runs-on: ubuntu-latest + container: ubuntu:focal + + steps: + - name: prepare instance + run: | + export DEBIAN_FRONTEND=noninteractive + apt update + apt install -y build-essential qt5-qmake qtbase5-dev qtdeclarative5-dev + + - name: qmake + run: | + ls -la + qmake ./LogicCalc.pro + + - name: Build + run: make -j$(nproc)