Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Workflows] Add recent changes from Patchmanager #457

Merged
merged 10 commits into from
Sep 12, 2023
22 changes: 22 additions & 0 deletions .github/workflows/build-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,26 @@ on:
pull_request:
branches:
- devel
# Allows to run this workflow manually from the Actions tab.
workflow_dispatch:

defaults:
run:
# Note thas 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: sh

# See, e.g.: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
concurrency:
group: ci-${{ github.ref_name }}
# 'false' (default) allows for two concurrent runs, one executing and one freshly enqueued; 'true' for only one; no 'concurrency:' defined for multiple.
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-22.04
env:
# Do not wait up to the default of 10 minutes for network timeouts in a workflow which runs ca. 3 minutes.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
steps:
- name: Checkout
Expand All @@ -32,6 +47,7 @@ jobs:
- name: Build i486
uses: coderus/github-sfos-build@old-stable
with:
# Solely builds for i486 on 3.3.0, because of https:/sailfishos-patches/patchmanager/pull/437#issuecomment-1615317003
release: ${{ env.RELEASE }}
arch: i486

Expand All @@ -41,3 +57,9 @@ jobs:
name: RPM-build-results_devel-i486-sfos3.3.0+
path: RPMS/

# Just for fun, see https://feathericons.com/ and
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#branding
#branding: # "Invalid workflow file: Unexpected value 'branding'"; maybe action MUST be located in '/' or the name MUST be action.yml or both, see e.g., https:/actions/cache/blob/main/action.yml#L37
# icon: 'gift'
# color: 'purple'

19 changes: 19 additions & 0 deletions .github/workflows/build-sfos3.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,23 @@ on:
branches:
- sfos3.1

defaults:
run:
# Note thas 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: sh

# See, e.g.: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
concurrency:
group: ci-${{ github.ref_name }}
# 'false' (default) allows for two concurrent runs, one executing and one freshly enqueued; 'true' for only one; no 'concurrency:' defined for multiple.
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-22.04
env:
# Do not wait up to the default of 10 minutes for network timeouts in a workflow which runs ca. 5 minutes.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
steps:
- name: Checkout
Expand Down Expand Up @@ -54,3 +67,9 @@ jobs:
name: RPM-build-results_sfos3.1.0-3.2.1
path: RPMS/

# Just for fun, see https://feathericons.com/ and
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#branding
#branding: # "Invalid workflow file: Unexpected value 'branding'"; maybe action MUST be located in '/' or the name MUST be action.yml or both, see e.g., https:/actions/cache/blob/main/action.yml#L37
# icon: 'gift'
# color: 'purple'

19 changes: 19 additions & 0 deletions .github/workflows/build-sfos3.3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,23 @@ on:
branches:
- sfos3.3

defaults:
run:
# Note thas 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: sh

# See, e.g.: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
concurrency:
group: ci-${{ github.ref_name }}
# 'false' (default) allows for two concurrent runs, one executing and one freshly enqueued; 'true' for only one; no 'concurrency:' defined for multiple.
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-22.04
env:
# Do not wait up to the default of 10 minutes for network timeouts in a workflow which runs ca. 10 minutes.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
steps:
- name: Checkout
Expand Down Expand Up @@ -60,3 +73,9 @@ jobs:
name: RPM-build-results_sfos3.3.0-4.1.0
path: RPMS/

# Just for fun, see https://feathericons.com/ and
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#branding
#branding: # "Invalid workflow file: Unexpected value 'branding'"; maybe action MUST be located in '/' or the name MUST be action.yml or both, see e.g., https:/actions/cache/blob/main/action.yml#L37
# icon: 'gift'
# color: 'purple'

19 changes: 19 additions & 0 deletions .github/workflows/build-sfos4.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,23 @@ on:
branches:
- sfos4.2

defaults:
run:
# Note thas 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: sh

# See, e.g.: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
concurrency:
group: ci-${{ github.ref_name }}
# 'false' (default) allows for two concurrent runs, one executing and one freshly enqueued; 'true' for only one; no 'concurrency:' defined for multiple.
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-22.04
env:
# Do not wait up to the default of 10 minutes for network timeouts in a workflow which runs ca. 10 minutes.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
steps:
- name: Checkout
Expand Down Expand Up @@ -60,3 +73,9 @@ jobs:
name: RPM-build-results_sfos4.2.0+
path: RPMS/

# Just for fun, see https://feathericons.com/ and
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#branding
#branding: # "Invalid workflow file: Unexpected value 'branding'"; maybe action MUST be located in '/' or the name MUST be action.yml or both, see e.g., https:/actions/cache/blob/main/action.yml#L37
# icon: 'gift'
# color: 'purple'

19 changes: 19 additions & 0 deletions .github/workflows/build-sfos4.2_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,23 @@ on:
branches:
- sfos4.2

defaults:
run:
# Note thas 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: sh

# See, e.g.: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
concurrency:
group: ci-${{ github.ref_name }}
# 'false' (default) allows for two concurrent runs, one executing and one freshly enqueued; 'true' for only one; no 'concurrency:' defined for multiple.
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-22.04
env:
# Do not wait up to the default of 10 minutes for network timeouts in a workflow which runs ca. 10 minutes.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
steps:
- name: Checkout
Expand Down Expand Up @@ -61,3 +74,9 @@ jobs:
name: RPM-build-results_sfos-latest
path: RPMS/

# Just for fun, see https://feathericons.com/ and
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#branding
#branding: # "Invalid workflow file: Unexpected value 'branding'"; maybe action MUST be located in '/' or the name MUST be action.yml or both, see e.g., https:/actions/cache/blob/main/action.yml#L37
# icon: 'gift'
# color: 'purple'