File tree 3 files changed +101
-0
lines changed
3 files changed +101
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Fedora Autotools
2
+
3
+ on :
4
+ push :
5
+ branches : [ OpenMPT-1.31 ]
6
+
7
+ concurrency :
8
+ group : ${{ github.ref }}-${{ github.workflow }}
9
+ cancel-in-progress : true
10
+
11
+ jobs :
12
+ build :
13
+
14
+ runs-on : ubuntu-latest
15
+ container :
16
+ image : fedora:latest
17
+
18
+ steps :
19
+ - name : Install dependencies
20
+ 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
21
+ - name : Checkout
22
+ uses : actions/checkout@v4
23
+ - name : fix git
24
+ # https://github.com/actions/runner/issues/2033
25
+ run : chown -R $(id -u):$(id -g) $(pwd)
26
+ - name : Build
27
+ run : export MAKEFLAGS=-j$(nproc); ./build/autotools/autoconfiscate.sh
Original file line number Diff line number Diff line change
1
+ name : Fedora Cross MinGW
2
+
3
+ on :
4
+ push :
5
+ branches : [ OpenMPT-1.31 ]
6
+
7
+ jobs :
8
+ build :
9
+
10
+ strategy :
11
+ fail-fast : false
12
+ matrix :
13
+ include :
14
+ - { crt: msvcrt, arch: x86 }
15
+ - { crt: msvcrt, arch: amd64 }
16
+ - { crt: ucrt , arch: amd64 }
17
+
18
+ concurrency :
19
+ group : ${{ github.ref }}-${{ github.workflow }}-${{matrix.crt}}-${{matrix.arch}}
20
+ cancel-in-progress : true
21
+
22
+ runs-on : ubuntu-latest
23
+ container :
24
+ image : fedora:latest
25
+
26
+ steps :
27
+ - name : Install dependencies
28
+ 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
29
+ - name : Install mingw
30
+ run : dnf -y install mingw32-filesystem mingw64-filesystem ucrt64-filesystem mingw-w64-tools mingw32-binutils mingw64-binutils ucrt64-binutils mingw32-gcc mingw32-gcc-c++ mingw64-gcc mingw64-gcc-c++ ucrt64-gcc ucrt64-gcc-c++ mingw32-windows-default-manifest mingw64-windows-default-manifest
31
+ - name : Checkout
32
+ uses : actions/checkout@v4
33
+ - name : fix git
34
+ # https://github.com/actions/runner/issues/2033
35
+ run : chown -R $(id -u):$(id -g) $(pwd)
36
+ - name : Build
37
+ run : make -j$(nproc) AUTO_DEPS=1 CONFIG=mingw-w64 WINDOWS_ARCH=${{matrix.arch}} WINDOWS_CRT=${{matrix.crt}} WINDOWS_VERSION=win10
Original file line number Diff line number Diff line change
1
+ name : Fedora Makefile
2
+
3
+ on :
4
+ push :
5
+ branches : [ OpenMPT-1.31 ]
6
+
7
+ jobs :
8
+ build :
9
+
10
+ strategy :
11
+ fail-fast : false
12
+ matrix :
13
+ include :
14
+ - { deps: sys }
15
+ - { deps: local }
16
+ - { deps: small }
17
+
18
+ concurrency :
19
+ group : ${{ github.ref }}-${{ github.workflow }}-${{matrix.deps}}
20
+ cancel-in-progress : true
21
+
22
+ runs-on : ubuntu-latest
23
+ container :
24
+ image : fedora:latest
25
+
26
+ steps :
27
+ - name : Install dependencies
28
+ 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
29
+ - name : Checkout
30
+ uses : actions/checkout@v4
31
+ - name : fix git
32
+ # https://github.com/actions/runner/issues/2033
33
+ run : chown -R $(id -u):$(id -g) $(pwd)
34
+ - name : Build
35
+ run : make -j$(nproc) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }}
36
+ - name : Test
37
+ run : make -j$(nproc) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }} check
You can’t perform that action at this time.
0 commit comments