Create main.yml

This commit is contained in:
Kevin Yue 2021-04-24 19:02:07 +08:00 committed by GitHub
parent ebd3de6f63
commit 5d613369ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

30
.github/workflows/main.yml vendored Normal file
View File

@ -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