ci/cd: enable centos 8 build
This commit is contained in:
parent
fff4daea8f
commit
bd536b8ae6
2 changed files with 15 additions and 2 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -18,3 +18,16 @@ jobs:
|
|||
- name: build mouse_m908 rpm package
|
||||
run: |
|
||||
make -j4 rpm
|
||||
centos-rpm-build:
|
||||
runs-on: ubuntu-latest
|
||||
container: centos:8
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: install tools and dependencies
|
||||
run: |
|
||||
dnf install -y rpm-build findutils clang-tools-extra 'dnf-command(builddep)' 'dnf-command(config-manager)'
|
||||
dnf config-manager --set-enabled powertools
|
||||
dnf builddep -y mouse_m908.spec
|
||||
- name: build mouse_m908 rpm package
|
||||
run: |
|
||||
make -j4 rpm
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
|
||||
Name: mouse_m908
|
||||
Version: 3.2
|
||||
Release: 1
|
||||
Release: 1%{?dist}
|
||||
Summary: Control Redragon gaming mice from Linux, BSD and Haiku
|
||||
|
||||
License: GPL v3
|
||||
URL: https://github.com/dokutan/mouse_m908
|
||||
BuildRequires: gcc-c++ libusb libusb-devel
|
||||
BuildRequires: gcc-c++ libusb libusb-devel make
|
||||
Requires: libusb
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
|
|
Loading…
Reference in a new issue