Merge branch 'frawhide' into gil/feat/gpg-update-script

This commit is contained in:
Gilver
2026-03-06 14:03:37 -08:00
committed by GitHub
275 changed files with 1797 additions and 512 deletions
+13 -1
View File
@@ -51,7 +51,7 @@ jobs:
image: ghcr.io/terrapkg/appstream-generator:main
steps:
- name: Download artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
merge-multiple: true
path: ./artifacts
@@ -69,6 +69,18 @@ jobs:
--basename=test \
--veto-ignore=missing-parents \
--veto-ignore=missing-info 2>&1 | tee asb.log
- name: Run appstreamcli validate
run: |
echo "## AppStream MetaInfo Validation" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo '```xml' >> $GITHUB_STEP_SUMMARY
for file in output/test.xml.gz; do
appstreamcli validate $file >> $GITHUB_STEP_SUMMARY || true
echo "" >> $GITHUB_STEP_SUMMARY
done
echo '```' >> $GITHUB_STEP_SUMMARY
- name: Export logs
id: export_logs
run: |
+21 -13
View File
@@ -55,6 +55,18 @@ jobs:
- name: Set up git repository
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Configure sccache
id: sccache
if: ${{ !contains(matrix.pkg.labels.sccache, '0') }}
uses: actions/github-script@v8
env:
SCCACHE_GHA_VERSION: ${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }}
SCCACHE_GHA_CACHE_FROM: ${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }}
with:
script: |
const script = require('./.github/scripts/configure-sccache.js')
await script({github, context, core, exec})
- name: CI Setup Script
if: ${{ !contains(matrix.pkg.labels, 'mock') }}
run: |
@@ -69,21 +81,17 @@ jobs:
dir=$(dirname ${{ matrix.pkg.pkg }})
dnf5 builddep -y ${dir}/*.spec
- name: Configure sccache
if: ${{ !contains(matrix.pkg.labels, 'sccache') }}
run: |
set -euo pipefail
echo "RUSTC_WRAPPER=/usr/bin/sccache" >> $GITHUB_ENV
echo "CARGO_INCREMENTAL=false" >> $GITHUB_ENV
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
if [ "${{ inputs.bust_cache }}" = "true" ]; then
echo "SCCACHE_BUST_CACHE=true" >> $GITHUB_ENV
fi
- name: Build with Andaman
run: anda build -D "vendor Terra" -D "__python %{__python3}" ${{ matrix.pkg.pkg }} -c terra-${{ matrix.version }}-${{ matrix.pkg.arch }} ${{ !matrix.pkg.labels.mock == '1' && '-rrpmbuild' || '' }}
- name: Report Cache Summary
if: steps.sccache.outcome == 'success'
uses: actions/github-script@v8
with:
script: |
const script = require('./.github/scripts/sccache-stats.js')
await script({github, context, core, exec})
- name: Generating artifact name
id: art
run: |
@@ -91,7 +99,7 @@ jobs:
x=${NAME//\//@}
echo "name=$x" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: ${{ steps.art.outputs.name }}
compression-level: 0 # The RPMs are already compressed :p
+1
View File
@@ -48,6 +48,7 @@ jobs:
git add anda
git commit -S -a -m "$msg"
}
copy_over f44 || true
copy_over f43 || true
copy_over f42 || true
copy_over el10 || true
+1
View File
@@ -48,6 +48,7 @@ jobs:
git add anda
git commit -S -a -m "$msg"
}
copy_over f44 || true
copy_over f43 || true
copy_over f42 || true
copy_over el10 || true
+1
View File
@@ -48,6 +48,7 @@ jobs:
git add anda
git commit -S -a -m "$msg"
}
copy_over f44 || true
copy_over f43 || true
copy_over f42 || true
copy_over el10 || true