From 5d613369ee4658b25e7bb006aa53f2d45756de8b Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Sat, 24 Apr 2021 19:02:07 +0800 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..b465245 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Install Qt + uses: jurplel/install-qt-action@v2 + with: + version: '5.15.2' + modules: 'qtwebengine qtwebsockets' + + # Checkout repository and submodules + - uses: actions/checkout@v2 + with: + submodules: recursive + + - name: Build + run: | + qmake CONFIG+=release + make