File tree Expand file tree Collapse file tree 2 files changed +29
-10
lines changed Expand file tree Collapse file tree 2 files changed +29
-10
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ permissions:
25
25
26
26
jobs :
27
27
build-linux :
28
- runs-on : ubuntu-latest
29
28
strategy :
30
29
matrix :
31
30
compiler : [gcc, clang]
41
40
cxx : clang++
42
41
subtarget : mame
43
42
executable : mame
43
+ runs-on : ubuntu-latest
44
44
steps :
45
45
- uses : actions/checkout@main
46
46
with :
Original file line number Diff line number Diff line change @@ -23,34 +23,53 @@ permissions:
23
23
24
24
jobs :
25
25
build-windows :
26
- runs-on : windows-latest
27
- defaults :
28
- run :
29
- shell : msys2 {0}
30
26
strategy :
31
27
matrix :
32
- compiler : [gcc, clang]
28
+ compiler : [gcc-x64 , clang-x64, clang-arm64 ]
33
29
include :
34
- - compiler : gcc
30
+ - compiler : gcc-x64
31
+ os : windows-latest
32
+ msys : MINGW64
33
+ slug : mingw-w64-x86_64
34
+ root : " /mingw64"
35
35
cc : gcc
36
36
cxx : g++
37
37
subtarget : mame
38
38
executable : mame
39
- - compiler : clang
39
+ - compiler : clang-x64
40
+ os : windows-latest
41
+ msys : MINGW64
42
+ slug : mingw-w64-x86_64
43
+ root : " /mingw64"
40
44
cc : clang
41
45
cxx : clang++
42
46
subtarget : tiny
43
47
executable : mametiny
48
+ - compiler : clang-arm64
49
+ os : windows-11-arm
50
+ msys : CLANGARM64
51
+ slug : mingw-w64-clang-aarch64
52
+ extrapkg : mingw-w64-clang-aarch64-gcc-compat
53
+ root : " /clangarm64"
54
+ cc : clang
55
+ cxx : clang++
56
+ subtarget : mame
57
+ executable : mame
58
+ runs-on : ${{ matrix.os }}
59
+ defaults :
60
+ run :
61
+ shell : msys2 {0}
44
62
steps :
45
63
- uses : msys2/setup-msys2@v2
46
64
with :
47
- install : git make mingw-w64-x86_64-${{ matrix.compiler }} mingw-w64-x86_64-python mingw-w64-x86_64-lld mingw-w64-x86_64-llvm mingw-w64-x86_64-libc++
65
+ msystem : ${{ matrix.msys }}
66
+ install : git make ${{ matrix.slug }}-${{ matrix.cc }} ${{ matrix.slug }}-python ${{ matrix.slug }}-lld ${{ matrix.slug }}-llvm ${{ matrix.slug }}-libc++ ${{ matrix.extrapkg }}
48
67
- uses : actions/checkout@main
49
68
with :
50
69
fetch-depth : 0
51
70
- name : Build
52
71
env :
53
- MINGW64 : " /mingw64 "
72
+ MINGW64 : ${{ matrix.root }}
54
73
OVERRIDE_AR : " llvm-ar"
55
74
OVERRIDE_CC : ${{ matrix.cc }}
56
75
OVERRIDE_CXX : ${{ matrix.cxx }}
You can’t perform that action at this time.
0 commit comments