mirror of
https://github.com/funkemunky/KDE-x86_64-v4-Fedora.git
synced 2026-05-31 09:01:56 +00:00
Improving the efficiency of workflows
This commit is contained in:
@@ -36,6 +36,11 @@ on:
|
||||
required: true
|
||||
default: "43"
|
||||
type: string
|
||||
builder_image:
|
||||
description: "Prebuilt Fedora RPM builder image reference"
|
||||
required: true
|
||||
default: "ghcr.io/dawsonc/kde-x86_64-v4-fedora-builder:f43"
|
||||
type: string
|
||||
optimization_level:
|
||||
description: "Compiler optimization level"
|
||||
required: true
|
||||
@@ -171,7 +176,7 @@ jobs:
|
||||
if: ${{ needs.prepare.outputs.package_count != '0' }}
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: quay.io/fedora/fedora:${{ inputs.fedora_release }}
|
||||
image: ${{ inputs.builder_image }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 128
|
||||
@@ -190,22 +195,17 @@ jobs:
|
||||
restore-keys: |
|
||||
dnf-fedora-${{ inputs.fedora_release }}-
|
||||
|
||||
- name: Install RPM build tooling
|
||||
- name: Verify builder toolchain
|
||||
run: |
|
||||
mkdir -p /var/cache/dnf /var/lib/dnf
|
||||
dnf -y update
|
||||
dnf -y install \
|
||||
--setopt=keepcache=1 \
|
||||
--setopt=skip_if_unavailable=True \
|
||||
ca-certificates \
|
||||
dnf-plugins-core \
|
||||
fedpkg \
|
||||
findutils \
|
||||
git \
|
||||
nodejs \
|
||||
rpm-build \
|
||||
rpmdevtools \
|
||||
which
|
||||
command -v dnf
|
||||
command -v fedpkg
|
||||
command -v rpmbuild
|
||||
command -v git
|
||||
command -v node
|
||||
command -v gcc
|
||||
command -v g-ir-scanner
|
||||
command -v gi-docgen
|
||||
rpm -q rpm-build rpmdevtools dnf-plugins-core
|
||||
|
||||
- name: Build shard packages
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user