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:
|
|
|
|
buildInContainer:
|
|
|
|
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 ..
|
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-17 23:12:42 +00:00
|
|
|
- name: create CI release
|
2019-10-27 02:28:30 +00:00
|
|
|
if: github.event_name == 'push'
|
2019-10-17 23:12:42 +00:00
|
|
|
uses: ./.github/actions/release
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
GITHUB_REPO: ${{ github.repository }}
|
|
|
|
REF: ${{ github.ref }}
|
|
|
|
COMMIT: ${{ github.sha }}
|
|
|
|
BIN1: ./Subsurface.AppImage
|
2019-10-25 20:53:48 +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
|