Add workflow
This commit is contained in:
parent
aad58cf4c6
commit
89d9d7fd09
1 changed files with 33 additions and 0 deletions
33
.github/workflows/build.yml
vendored
Normal file
33
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
|
||||||
|
name: Screencast build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
env:
|
||||||
|
RELEASE: 3.3.0.14
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Prepare
|
||||||
|
run: mkdir output
|
||||||
|
|
||||||
|
- name: Build armv7hl
|
||||||
|
run: docker run --rm --privileged -v $PWD:/share coderus/sailfishos-platform-sdk:$RELEASE /bin/bash -c "
|
||||||
|
mkdir -p build ;
|
||||||
|
cd build ;
|
||||||
|
cp -r /share/* . ;
|
||||||
|
mb2 -t SailfishOS-$RELEASE-armv7hl build ;
|
||||||
|
sudo cp -r RPMS/*.rpm /share/output"
|
Loading…
Reference in a new issue