2019-12-31 01:37:59 +00:00
|
|
|
name: Ubuntu 14.04 / Qt 5.12 for AppImage
|
2019-10-26 01:04:01 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2019-10-14 23:08:22 +00:00
|
|
|
|
|
|
|
jobs:
|
2020-12-11 17:49:40 +00:00
|
|
|
buildAppImage:
|
2019-10-14 23:08:22 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2019-11-24 22:20:19 +00:00
|
|
|
image: docker://subsurface/trusty-qt512:1.0
|
2019-10-14 23:08:22 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: checkout sources
|
2019-10-17 23:12:42 +00:00
|
|
|
uses: actions/checkout@v1
|
2019-10-14 23:08:22 +00:00
|
|
|
|
|
|
|
- name: run build
|
|
|
|
run: |
|
2019-10-17 23:12:42 +00:00
|
|
|
cd ..
|
2020-01-27 22:50:52 +00:00
|
|
|
rm -rf /install-root/include/libdivecomputer
|
2019-10-18 16:25:14 +00:00
|
|
|
bash -x subsurface/.github/workflows/scripts/linux-in-container-build.sh
|
2019-10-14 23:08:22 +00:00
|
|
|
|
2019-10-27 02:28:30 +00:00
|
|
|
- name: prepare PR artifacts
|
|
|
|
if: github.event_name == 'pull_request'
|
2019-10-25 20:53:48 +00:00
|
|
|
run: |
|
2019-10-27 02:28:30 +00:00
|
|
|
mkdir -p Linux-artifacts
|
|
|
|
mv Subsurface.AppImage Linux-artifacts
|
|
|
|
|
|
|
|
- name: PR artifacts
|
|
|
|
if: github.event_name == 'pull_request'
|
|
|
|
uses: actions/upload-artifact@master
|
|
|
|
with:
|
|
|
|
name: Linux-artifacts
|
|
|
|
path: Linux-artifacts
|