-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[New] build: CI: GitHub: Add Fedora Autotools builder.
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@20681 56274372-70c3-4bfc-bfc3-4c3a0b034d27
- Loading branch information
Showing
1 changed file
with
29 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,29 @@ | ||
name: Fedora Autotools | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
container: | ||
image: fedora:latest | ||
|
||
steps: | ||
- name: Install dependencies | ||
run: dnf -y upgrade --refresh && dnf -y install subversion perl-XML-XPath git mawk zip unzip p7zip xz make binutils gcc gcc-g++ clang pcc pkgconf help2man doxygen autoconf autoconf-archive automake libtool ccache zlib-devel mpg123-devel libogg-devel libvorbis-devel portaudio-devel pulseaudio-libs-devel SDL2-devel flac-devel libsndfile-devel libtool-ltdl-devel | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: fix git | ||
# https://github.com/actions/runner/issues/2033 | ||
run: chown -R $(id -u):$(id -g) $(pwd) | ||
- name: Build | ||
run: export MAKEFLAGS=-j$(nproc); ./build/autotools/autoconfiscate.sh |