CI: add GitHub Action ubuntu build

This commit is contained in:
Gary Wang
2020-06-18 23:06:15 +08:00
committed by GitHub
parent fe0b36dc34
commit 4dbfb2f881
3 changed files with 23 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: MyCi_MacOS
name: macOS CI
on: [push]

20
.github/workflows/ubuntu.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Ubuntu 20.04 CI
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Get build dept.
run: sudo apt install cmake qtbase5-dev libqt5svg5-dev qttools5-dev
- name: Build it
run: |
mkdir build
cd build
cmake ../
make
sudo cpack