7474 # Unfortunately, "allow-failure" is not available on GitHub Actions
7575 # (https://github.com/actions/toolkit/issues/399).
7676 # We have to use "continue-on-error", instead.
77- - {os: windows-2019, shell: msys2, bin: form}
78- - {os: windows-2019, shell: msys2, bin: tform}
77+ - {os: windows-2019, shell: msys2, msystem: mingw64, bin: form}
78+ - {os: windows-2019, shell: msys2, msystem: mingw64, bin: tform}
79+ - {os: windows-11-arm, shell: msys2, msystem: clangarm64, bin: form}
80+ - {os: windows-11-arm, shell: msys2, msystem: clangarm64, bin: tform}
7981 steps :
8082 - name : Install dependencies (Ubuntu)
8183 if : runner.os == 'Linux'
@@ -86,19 +88,37 @@ jobs:
8688 # See: https://github.com/awalsh128/cache-apt-pkgs-action/pull/150
8789 version : ${{ runner.arch }}-1.0
8890
89- - name : Install dependencies (Windows)
90- if : runner.os == 'Windows '
91+ - name : Install dependencies (Windows/mingw64 )
92+ if : matrix.shell == 'msys2' && matrix.msystem == 'mingw64 '
9193 uses : msys2/setup-msys2@v2
9294 with :
9395 update : true
96+ msystem : ${{ matrix.msystem }}
9497 install : >-
9598 make
99+ mingw-w64-x86_64-diffutils
96100 mingw-w64-x86_64-gcc
97101 mingw-w64-x86_64-gmp
98102 mingw-w64-x86_64-mpfr
99103 mingw-w64-x86_64-ruby
100104 mingw-w64-x86_64-zlib
101105
106+ - name : Install dependencies (Windows/clangarm64)
107+ if : matrix.shell == 'msys2' && matrix.msystem == 'clangarm64'
108+ uses : msys2/setup-msys2@v2
109+ with :
110+ update : true
111+ msystem : ${{ matrix.msystem }}
112+ install : >-
113+ m4
114+ make
115+ mingw-w64-clang-aarch64-diffutils
116+ mingw-w64-clang-aarch64-gcc-compat
117+ mingw-w64-clang-aarch64-gmp
118+ mingw-w64-clang-aarch64-mpfr
119+ mingw-w64-clang-aarch64-ruby
120+ mingw-w64-clang-aarch64-zlib
121+
102122 # --static fails on macOS but we want to statically link
103123 # the brewed gmp. The linker supports neither -Wl,-static nor
104124 # -l:libgmp.a to make partial static links possible.
@@ -422,6 +442,7 @@ jobs:
422442 make_tar_gz x86_64-osx '*-macos-13/*form'
423443 make_tar_gz arm64-osx '*-macos-14/*form'
424444 make_zip x86_64-windows '*-windows-2019/*form.exe'
445+ make_zip arm64-windows '*-windows-11-arm/*form.exe'
425446
426447 - name : Summarize files for distribution
427448 run : |
0 commit comments