-
Notifications
You must be signed in to change notification settings - Fork 37
42 lines (34 loc) · 1.08 KB
/
build-umu-fedora-41.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: UMU RPM Build - Fedora/Nobara
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
container:
image: fedora:41
steps:
- name: Install Git
run: dnf install -y git
- name: Checkout repository
uses: actions/checkout@v4
- name: Configure Git safe directory
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Install build dependencies
run: dnf install -y rpm-build meson ninja-build cmake g++ gcc-c++ scdoc git python3-devel python3-build python3-installer python3-hatchling python python3 cargo
- name: Build the project
run: |
./configure.sh --prefix=/usr
make
mkdir -p ~/rpmbuild/SOURCES
cp -r . ~/rpmbuild/SOURCES/umu-launcher
rpmbuild -ba packaging/rpm/umu-launcher.spec
- name: Fedora-41
uses: actions/[email protected]
with:
name: umu-launcher-rpm-41
path: ~/rpmbuild/RPMS/noarch/*.rpm