fix(ci): weird formatting issues (#2864)

* feat(ci): add mock label to ci, also remove multilib

* feat: switch packages to use `arches = [...]`

* ???

Signed-off-by: madomado <madonuko@outlook.com>

* feat: add mock labels to pkgs

* feat: add condition for setup scripts and dnf builddep

* fix(ci): weird formatting issues

* wha

* if !contains?

* single quotes

---------

Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
madomado
2025-01-03 17:12:54 +08:00
committed by GitHub
parent 5ea63f4910
commit 220cd35306
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ jobs:
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: CI Setup Script
if: !matrix.pkg.labels ["mock"]
if: ${{ !contains(matrix.pkg.labels, 'mock') }}
run: |
dir=$(dirname ${{ matrix.pkg.pkg }})
if [ -f $dir/ci_setup.rhai ]; then
@@ -64,7 +64,7 @@ jobs:
fi
- name: Install Build Dependencies
if: !matrix.pkg.labels ["mock"]
if: ${{ !contains(matrix.pkg.labels, 'mock') }}
run: |
dir=$(dirname ${{ matrix.pkg.pkg }})
dnf5 builddep -y ${dir}/*.spec
+2 -2
View File
@@ -27,7 +27,7 @@ jobs:
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: CI Setup Script
if: !matrix.pkg.labels ["mock"]
if: ${{ !contains(matrix.pkg.labels, 'mock') }}
run: |
dir=$(dirname ${{ matrix.pkg.pkg }})
if [ -f $dir/ci_setup.rhai ]; then
@@ -35,7 +35,7 @@ jobs:
fi
- name: Install Build Dependencies
if: !matrix.pkg.labels ["mock"]
if: ${{ !contains(matrix.pkg.labels, 'mock') }}
run: |
dir=$(dirname ${{ matrix.pkg.pkg }})
dnf5 builddep -y ${dir}/*.spec