Skip to content
11 changes: 10 additions & 1 deletion .github/workflows/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ jobs:
ref: f${{ matrix.version }}
fetch-depth: 1

- name: Setup build environment
run: |
sed -i 's/.fc%{fedora}/.fcrawhide/g' /usr/lib/rpm/macros.d/macros.dist
cat<<EOF >> /etc/dnf/dnf.conf
gpgcheck=1
install_weak_deps=0
max_parallel_downloads=20
EOF

- name: Build anda-srpm-macros
run: |
mkdir -p anda-build/rpm/rpms
Expand All @@ -37,7 +46,7 @@ jobs:
dnf5 install -y ./anda-build/rpm/rpms/anda-*.rpm

- name: Install build dependencies
run: dnf5 builddep -y anda/terra/{mock-configs,srpm-macros}/*.spec anda/{buildsys/anda,tools/subatomic}/*.spec
run: dnf5 builddep -y anda/terra/{mock-configs,srpm-macros,appstream-helper}/*.spec anda/{buildsys/anda,tools/subatomic}/*.spec

- name: Install Anda
run: |
Expand Down