2020-06-18 23:06:15 +08:00
|
|
|
name: Ubuntu 20.04 CI
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Get build dept.
|
2020-11-15 20:53:33 +08:00
|
|
|
run: sudo apt install cmake qtbase5-dev libqt5svg5-dev qttools5-dev libexiv2-dev
|
2020-06-18 23:06:15 +08:00
|
|
|
- name: Build it
|
|
|
|
run: |
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../
|
|
|
|
make
|
2020-08-13 19:45:38 +08:00
|
|
|
cpack -G DEB
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: ubuntu-20.04-deb-package
|
|
|
|
path: build/*.deb
|