Updated to scenefx 0.4.1 and swayfx 0.5.2 #32
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: Build RPMs | |
| on: | |
| push: | |
| paths: | |
| - COPR/** | |
| branches: [ main ] | |
| pull_request: | |
| paths: | |
| - COPR/** | |
| branches: [ main ] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| RPM-SceneFX-build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| pkgname: [ scenefx-0.2, scenefx-0.3, scenefx ] | |
| name: Build RPM ${{matrix.pkgname}} | |
| container: fedora:latest | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install tooling for source RPM build | |
| run: | | |
| dnf -y install rpkg @rpm-development-tools 'dnf-command(builddep)' | |
| - name: Check out sources | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: ${{matrix.pkgname}} Download RPM Spec sources | |
| run: | | |
| cd COPR/${{matrix.pkgname}} | |
| spectool -g ./${{matrix.pkgname}}.rpkg.spec | |
| - name: ${{matrix.pkgname}} Install build dependencies | |
| run: | | |
| cd COPR/${{matrix.pkgname}} | |
| dnf -y builddep ./${{matrix.pkgname}}.rpkg.spec | |
| - name: ${{matrix.pkgname}} Build RPM | |
| run: | | |
| cd COPR/${{matrix.pkgname}} | |
| mkdir -p out | |
| rpkg local --out `pwd`/out | |
| - name: ${{matrix.pkgname}} Install RPMs | |
| run: | | |
| cd COPR/${{matrix.pkgname}} | |
| dnf -y install ./out/*/*.rpm | |
| RPM-SwayFX-build: | |
| name: Build RPM swayfx | |
| container: fedora:latest | |
| runs-on: ubuntu-latest | |
| env: | |
| scenefx_version: "scenefx" | |
| steps: | |
| - name: Install tooling for source RPM build | |
| run: | | |
| dnf -y install rpkg @rpm-development-tools 'dnf-command(builddep)' | |
| - name: Check out sources | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: SceneFX Download RPM Spec sources | |
| run: | | |
| cd COPR/$scenefx_version | |
| spectool -g ./$scenefx_version.rpkg.spec | |
| - name: SceneFX Install build dependencies | |
| run: | | |
| cd COPR/$scenefx_version | |
| dnf -y builddep ./$scenefx_version.rpkg.spec | |
| - name: SceneFX Build RPM | |
| run: | | |
| cd COPR/$scenefx_version | |
| mkdir -p out | |
| rpkg local --out `pwd`/out | |
| - name: SceneFX Install RPMs | |
| run: | | |
| cd COPR/$scenefx_version | |
| dnf -y install ./out/*/*.rpm | |
| - name: SwayFX Download RPM Spec sources | |
| run: | | |
| cd COPR/swayfx | |
| spectool -g ./swayfx.rpkg.spec | |
| - name: SwayFX Install build dependencies | |
| run: | | |
| cd COPR/swayfx | |
| dnf -y builddep ./swayfx.rpkg.spec | |
| - name: SwayFX Build RPM | |
| run: | | |
| cd COPR/swayfx | |
| mkdir -p out | |
| rpkg local --out `pwd`/out | |
| - name: SwayFX Install RPMs | |
| run: | | |
| cd COPR/swayfx | |
| dnf -y install ./out/*/*.rpm ./out/noarch/*.rpm |