diff --git a/.github/workflows/sailfish.yml b/.github/workflows/sailfish.yml new file mode 100644 index 00000000..f8c0638e --- /dev/null +++ b/.github/workflows/sailfish.yml @@ -0,0 +1,40 @@ +name: SailfishOS build +on: [push, pull_request] +env: + RELEASE: 4.5.0.18 +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Prepare + run: mkdir output + + - name: Build armv7hl + id: build_armv7hl + uses: coderus/github-sfos-build@master + with: + release: ${{ env.RELEASE }} + arch: armv7hl + + - name: Build aarch64 + id: build_aarch64 + uses: coderus/github-sfos-build@master + with: + release: ${{ env.RELEASE }} + arch: aarch64 + + - name: Build i486 + id: build_i486 + uses: coderus/github-sfos-build@master + with: + release: ${{ env.RELEASE }} + arch: i486 + + - name: Upload build result + uses: actions/upload-artifact@v2 + with: + name: output-rpms + path: RPMS