-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! Ticket #4170: implement CI via GitHub Actions
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: ci-fedora | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
build-fedora: | ||
runs-on: macos-latest | ||
container: | ||
image: fedora:rawhide | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
dnf install -y autoconf automake gcc gettext-devel libtool make pkgconfig | ||
dnf install -y aspell-devel check-devel gpm-devel libX11-devel pkgconfig(ext2fs) pkgconfig(glib-2.0) pkgconfig(gmodule-2.0) pkgconfig(libssh2) pkgconfig(slang) | ||
- name: Bootstrap build system | ||
run: ./autogen.sh | ||
|
||
- name: Build default configuration | ||
run: | | ||
mkdir build-default && cd $_ | ||
../configure \ | ||
--prefix="$(pwd)/install" \ | ||
--enable-mclib \ | ||
--enable-aspell | ||
make -j$(nproc) | ||
make check | ||
make install | ||
- uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: test-suite-logs-fedora | ||
path: build-*/**/test-suite.log |
This file contains 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