diff options
| author | ruki <[email protected]> | 2020-09-26 00:17:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-26 00:17:20 +0800 |
| commit | 3c1187b1b779554c964ec4916b51e0ae495a5871 (patch) | |
| tree | 28b560d593a9edd81c782f2fe963fdf6dff72f5a | |
| parent | 60c200aa19f322742914acafad627706d7a9dc49 (diff) | |
update fedora ci
| -rw-r--r-- | .github/workflows/fedora.yml | 11 | ||||
| -rw-r--r-- | scripts/rpmbuild/SPECS/xmake.spec | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index e60328321..adc2c1543 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -29,6 +29,17 @@ jobs: with: xmake-version: local#../xmake-source + # build artifacts + - name: artifact + run: | + dnf install ncurses-devel readline-devel + rpmbuild -ba ./scripts/rpmbuild/SPECS/xmake.spec + # upload artifacts + - uses: actions/upload-artifact@v2 + with: + name: xmake-latest.fc32.src.rpm + path: ~/rpmbuild/SRPMS/xmake-*.fc32.src.rpm + # tests - name: tests env: diff --git a/scripts/rpmbuild/SPECS/xmake.spec b/scripts/rpmbuild/SPECS/xmake.spec index dd8aa07f7..94a00d44c 100644 --- a/scripts/rpmbuild/SPECS/xmake.spec +++ b/scripts/rpmbuild/SPECS/xmake.spec @@ -24,7 +24,8 @@ BuildRequires: ncurses-devel BuildRequires: readline-devel %description -It is a lightweight cross-platform build utility based on Lua. +xmake is a lightweight cross-platform build utility based on Lua. + It uses xmake.lua to maintain project builds. Compared with makefile/CMakeLists.txt, the configuration syntax is more concise and intuitive. It is very friendly to novices and can quickly get started in a short time. |
