mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-21 11:00:38 +00:00
feat(ci): use -rrpmbuild
This commit is contained in:
@@ -63,16 +63,13 @@ jobs:
|
||||
|
||||
- name: Include custom build template instead of package default
|
||||
run: |
|
||||
cp -v mock-configs/el${{ matrix.version }}.tpl /etc/mock/templates/
|
||||
cp -v mock-configs/epel${{ matrix.version }}.tpl /etc/mock/templates/
|
||||
cp -v mock-configs/terra-el.tpl /etc/mock/templates/
|
||||
cp -v mock-configs/terra-el-dev.tpl /etc/mock/templates/
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c mock-configs/terra-el${{ matrix.version }}+epel-${{ matrix.pkg.arch }}.cfg
|
||||
|
||||
- name: Build with Andaman (alternate arch)
|
||||
if: |
|
||||
matrix.pkg.arch == 'x86_64' && matrix.pkg.labels['multilib']
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c mock-configs/terra-el${{ matrix.version }}+epel-i386.cfg
|
||||
run: |
|
||||
dnf builddep -y `echo ${{ matrix.pkg.pkg }} | sed -E 's@/pkg$@/*.spec@'`
|
||||
anda build ${{ matrix.pkg.pkg }} -rrpmbuild
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
|
||||
@@ -68,11 +68,13 @@ jobs:
|
||||
|
||||
- name: Include custom build template instead of package default
|
||||
run: |
|
||||
cp -v mock-configs/el${{ matrix.version }}.tpl /etc/mock/templates/
|
||||
cp -v mock-configs/epel${{ matrix.version }}.tpl /etc/mock/templates/
|
||||
cp -v mock-configs/terra-el.tpl /etc/mock/templates/
|
||||
cp -v mock-configs/terra-el-dev.tpl /etc/mock/templates/
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build anda/${{ matrix.pkg }}pkg --package rpm -c mock-configs/terra-el${{ matrix.version }}+epel-${{ matrix.pkg.arch }}.cfg
|
||||
run: |
|
||||
dnf builddep -y anda/${{ matrix.pkg }}*.spec
|
||||
anda build anda/${{ matrix.pkg }}pkg -rrpmbuild
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
|
||||
@@ -34,11 +34,13 @@ jobs:
|
||||
|
||||
- name: Include custom build template instead of package default
|
||||
run: |
|
||||
cp -v mock-configs/el${{ matrix.version }}.tpl /etc/mock/templates/
|
||||
cp -v mock-configs/epel${{ matrix.version }}.tpl /etc/mock/templates/
|
||||
cp -v mock-configs/terra-el.tpl /etc/mock/templates/
|
||||
cp -v mock-configs/terra-el-dev.tpl /etc/mock/templates/
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c mock-configs/terra-el${{ matrix.version }}+epel-${{ matrix.pkg.arch }}.cfg
|
||||
run: |
|
||||
dnf builddep -y `echo ${{ matrix.pkg.pkg }} | sed -E 's@/pkg$@/*.spec@'`
|
||||
anda build ${{ matrix.pkg.pkg }} -rrpmbuild
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
|
||||
@@ -3,18 +3,18 @@ name: Lint
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- frawhide
|
||||
- el10
|
||||
pull_request:
|
||||
branches:
|
||||
- frawhide
|
||||
- el10
|
||||
merge_group:
|
||||
branches:
|
||||
- frawhide
|
||||
- el10
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
image: ghcr.io/terrapkg/builder:el10
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user