Files
cmus/.gitea/workflows/build.yaml
y1lm0z 833520d529
Some checks failed
MusicPlayer Fedora Build / fedora-compilation (push) Failing after 3m1s
build dosyası düzenleme 5
2026-03-29 14:26:13 +03:00

50 lines
1.8 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: MusicPlayer Fedora Build
on: [push]
jobs:
fedora-compilation:
runs-on: fedora-latest
steps:
- name: Paketleri ve Git'i Kur
run: |
dnf install -y git gcc gcc-c++ make cmake pkgconfig
- name: Kodları Manuel Çek
run: |
# Gitea içindeki servis adını kullanarak kodu çekiyoruz
git clone https://git.y1lm0z.me/y1lm0z/cmus.git .
- name: Bağımlılıkları Kur
run: |
dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm || true
dnf install -y \
'pkgconfig(ncursesw)' 'pkgconfig(alsa)' 'pkgconfig(ao)' \
'pkgconfig(libcddb)' 'pkgconfig(libcdio_cdda)' 'pkgconfig(libdiscid)' \
'pkgconfig(libavformat)' 'pkgconfig(libavcodec)' 'pkgconfig(libswresample)' \
'pkgconfig(flac)' 'pkgconfig(jack)' 'pkgconfig(mad)' \
'pkgconfig(libmodplug)' libmpcdec-devel 'pkgconfig(libsystemd)' \
'pkgconfig(opusfile)' 'pkgconfig(libpulse)' 'pkgconfig(samplerate)' \
'pkgconfig(vorbisfile)' 'pkgconfig(wavpack)' \
faad2-devel libmp4v2-devel
- name: Derle
run: |
if [ -f ./configure ]; then
./configure prefix=/usr
make -j$(nproc)
elif [ -f CMakeLists.txt ]; then
mkdir -p build && cd build
cmake ..
make -j$(nproc)
else
make -j$(nproc)
fi
- name: Derlenen Dosyaları Pakete Koy
uses: actions/upload-artifact@v3
with:
name: cmus-fedora-derlemesi # İndireceğin zip dosyasının adı
path: |
cmus
cmus-remote
# Eğer başka dosyalar da varsa buraya ekleyebilirsin