mirror of
https://github.com/ErikReider/SwayNotificationCenter.git
synced 2024-11-22 01:33:41 +03:00
Migrated to fedora-minimal docker container for GitHub Actions
This commit is contained in:
parent
86fdd16baf
commit
ffa720c4f3
9
.github/workflows/fedora-build.yml
vendored
9
.github/workflows/fedora-build.yml
vendored
@ -11,15 +11,14 @@ on:
|
||||
|
||||
jobs:
|
||||
fedora-build:
|
||||
container: fedora:latest
|
||||
container: registry.fedoraproject.org/fedora-minimal:latest
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install tooling for source RPM build
|
||||
run: |
|
||||
dnf -y install @development-tools @rpm-development-tools
|
||||
dnf -y install rpkg git
|
||||
dnf -y install 'dnf-command(builddep)'
|
||||
microdnf -y install --nodocs --setopt=install_weak_deps=0 \
|
||||
@development-tools @rpm-development-tools rpkg git 'dnf-command(builddep)'
|
||||
|
||||
# It is necessary to checkout into sub-directory, because of some weird ownership problems cause by using containers
|
||||
- name: Check out sources
|
||||
@ -42,7 +41,7 @@ jobs:
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
cd swaync
|
||||
dnf -y builddep ./specs/swaync.rpkg.spec
|
||||
microdnf -y builddep ./specs/swaync.rpkg.spec
|
||||
|
||||
- name: Local build
|
||||
run: |
|
||||
|
5
.github/workflows/fedora-copr.yml
vendored
5
.github/workflows/fedora-copr.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
fedora-copr:
|
||||
container: fedora:latest
|
||||
container: registry.fedoraproject.org/fedora-minimal:latest
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@ -29,7 +29,8 @@ jobs:
|
||||
|
||||
- name: Install tooling for source RPM build
|
||||
run: |
|
||||
dnf -y install copr-cli rpkg git
|
||||
microdnf -y install --nodocs --setopt=install_weak_deps=0 \
|
||||
copr-cli rpkg git
|
||||
|
||||
# It is necessary to checkout into sub-directory, because of some weird ownership problems cause by using containers
|
||||
- name: Check out sources
|
||||
|
6
.github/workflows/linting.yml
vendored
6
.github/workflows/linting.yml
vendored
@ -25,11 +25,13 @@ jobs:
|
||||
fail: true
|
||||
|
||||
rpmlint:
|
||||
container: fedora:latest
|
||||
container: registry.fedoraproject.org/fedora-minimal:latest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install rpmlint
|
||||
run: dnf -y install rpmlint rpkg
|
||||
run: |
|
||||
microdnf -y install --nodocs --setopt=install_weak_deps=0 \
|
||||
rpmlint rpkg
|
||||
|
||||
- name: Check out sources
|
||||
uses: actions/checkout@v3
|
||||
|
Loading…
Reference in New Issue
Block a user