2020-09-07 21:00:09 +03:00
|
|
|
|
2020-09-07 21:46:09 +03:00
|
|
|
name: Buildfish build
|
2020-09-07 21:00:09 +03:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
2020-09-07 21:05:23 +03:00
|
|
|
- name: update submodules
|
|
|
|
run: git submodule sync --recursive && git submodule update --init --force --recursive --depth=1
|
|
|
|
|
2020-09-07 21:00:09 +03:00
|
|
|
- name: Prepare
|
|
|
|
run: mkdir output
|
|
|
|
|
|
|
|
- name: Build armv7hl
|
2020-09-08 21:41:51 +03:00
|
|
|
id: build_armv7hl
|
2020-09-15 21:34:02 +03:00
|
|
|
uses: attah/buildfish@0.8
|
2020-09-08 21:41:51 +03:00
|
|
|
with:
|
2020-09-15 21:34:02 +03:00
|
|
|
release: 3.3.0.14
|
2020-09-08 21:41:51 +03:00
|
|
|
|
|
|
|
# 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"
|