meson: Build using Python 3.10 limited API (LP: #2050881) #934
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RPM build | |
on: | |
push: | |
branches: [ main, 'stable/**' ] | |
paths-ignore: | |
- 'doc/**' | |
pull_request: | |
branches: [ '**' ] | |
paths-ignore: | |
- 'doc/**' | |
jobs: | |
rpm: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
container: | |
- fedora:latest | |
# - fedora:rawhide | |
- almalinux:10-kitten | |
# - rockylinux:10 | |
container: | |
image: ${{ matrix.container }} | |
steps: | |
- name: Install Build-Dependencies | |
run: | | |
dnf -y install git | |
dnf -y install 'dnf-command(config-manager)' | |
dnf config-manager --set-enabled powertools || true | |
dnf config-manager --set-enabled crb || true # Meson/CMocka on EL10 | |
dnf config-manager --set-enabled nfv || true # OVS on EL10 | |
dnf -y install epel-release || true | |
dnf -y install centos-release-nfv-openvswitch || true # OVS on EL9 | |
dnf -y install dnf-plugins-core rpmdevtools # for 'dnf builddep' | |
- uses: actions/checkout@v2 | |
- name: Build & Test | |
run: | | |
cat /etc/os-release | |
adduser test | |
chown -R test:test . | |
dnf -y builddep rpm/netplan.spec | |
su test -c 'rpmbuild -bi -D "debug_package %{nil}" --build-in-place rpm/netplan.spec' |