File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Fedora Cross MinGW
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ include :
16
+ - { crt: msvcrt, arch: x86 }
17
+ - { crt: msvcrt, arch: amd64 }
18
+ - { crt: ucrt , arch: amd64 }
19
+
20
+ concurrency :
21
+ group : ${{ github.ref }}-${{ github.workflow }}-${{matrix.crt}}-${{matrix.arch}}
22
+ cancel-in-progress : true
23
+
24
+ runs-on : ubuntu-latest
25
+ container :
26
+ image : fedora:latest
27
+
28
+ steps :
29
+ - name : Install dependencies
30
+ 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
31
+ - name : Install mingw
32
+ 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
33
+ - name : Checkout
34
+ uses : actions/checkout@v4
35
+ - name : fix git
36
+ # https://github.com/actions/runner/issues/2033
37
+ run : chown -R $(id -u):$(id -g) $(pwd)
38
+ - name : Build
39
+ run : make -j$(nproc) AUTO_DEPS=1 CONFIG=mingw-w64 WINDOWS_ARCH=${{matrix.arch}} WINDOWS_CRT=${{matrix.crt}} WINDOWS_VERSION=win10
You can’t perform that action at this time.
0 commit comments