|
17 | 17 | fail-fast: false
|
18 | 18 | matrix:
|
19 | 19 | config:
|
20 |
| - - name: Windows MSVC Release |
| 20 | + - name: Windows MSVC x64 Release |
21 | 21 | os: windows-latest
|
| 22 | + arch: x64 |
22 | 23 | msvc: true
|
23 | 24 | buildtype: release
|
24 | 25 | args: >-
|
|
34 | 35 | -Dfribidi:tests=false
|
35 | 36 | -Dfribidi:docs=false
|
36 | 37 | -Dlibass:fontconfig=disabled
|
| 38 | + - name: Windows MSVC ARM64 Release |
| 39 | + os: windows-11-arm |
| 40 | + arch: arm64 |
| 41 | + msvc: true |
| 42 | + buildtype: release |
| 43 | + args: >- |
| 44 | + -Ddefault_library=static |
| 45 | + --force-fallback-for=zlib,harfbuzz,freetype2,fribidi,libpng |
| 46 | + -Dfreetype2:harfbuzz=disabled |
| 47 | + -Dharfbuzz:freetype=disabled |
| 48 | + -Dharfbuzz:cairo=disabled |
| 49 | + -Dharfbuzz:glib=disabled |
| 50 | + -Dharfbuzz:gobject=disabled |
| 51 | + -Dharfbuzz:tests=disabled |
| 52 | + -Dharfbuzz:docs=disabled |
| 53 | + -Dfribidi:tests=false |
| 54 | + -Dfribidi:docs=false |
| 55 | + -Dlibass:fontconfig=disabled |
| 56 | + -Dlibass:asm=disabled |
37 | 57 | #- {
|
38 | 58 | # name: Windows MinGW,
|
39 | 59 | # os: windows-latest,
|
@@ -79,11 +99,13 @@ jobs:
|
79 | 99 | pip install meson==1.7.2
|
80 | 100 |
|
81 | 101 | - name: Setup MSVC
|
82 |
| - if: matrix.config.os == 'windows-latest' && matrix.config.msvc == true |
| 102 | + if: startsWith(matrix.config.os, 'windows-') && matrix.config.msvc == true |
83 | 103 | uses: ilammy/msvc-dev-cmd@v1
|
| 104 | + with: |
| 105 | + arch: ${{ matrix.config.arch }} |
84 | 106 |
|
85 | 107 | - name: Install dependencies (Windows)
|
86 |
| - if: matrix.config.os == 'windows-latest' |
| 108 | + if: startsWith(matrix.config.os, 'windows-') |
87 | 109 | run: |
|
88 | 110 | choco install ninja innosetup
|
89 | 111 |
|
@@ -130,27 +152,27 @@ jobs:
|
130 | 152 |
|
131 | 153 | # Windows artifacts
|
132 | 154 | - name: Generate Windows installer
|
133 |
| - if: matrix.config.os == 'windows-latest' |
| 155 | + if: startsWith(matrix.config.os, 'windows-') |
134 | 156 | env:
|
135 | 157 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
136 | 158 | run:
|
137 | 159 | meson compile win-installer -C build
|
138 | 160 |
|
139 | 161 | - name: Generate Windows portable installer
|
140 |
| - if: matrix.config.os == 'windows-latest' |
| 162 | + if: startsWith(matrix.config.os, 'windows-') |
141 | 163 | run: cd build && ninja win-portable
|
142 | 164 |
|
143 | 165 | - name: Upload artifacts - win_installer
|
144 | 166 | uses: actions/upload-artifact@v4
|
145 |
| - if: matrix.config.os == 'windows-latest' |
| 167 | + if: startsWith(matrix.config.os, 'windows-') |
146 | 168 | with:
|
147 | 169 | name: ${{ matrix.config.name }} - installer
|
148 | 170 | path: build/Aegisub-*.exe
|
149 | 171 | if-no-files-found: error
|
150 | 172 |
|
151 | 173 | - name: Upload artifacts - portable.zip
|
152 | 174 | uses: actions/upload-artifact@v4
|
153 |
| - if: matrix.config.os == 'windows-latest' |
| 175 | + if: startsWith(matrix.config.os, 'windows-') |
154 | 176 | with:
|
155 | 177 | name: ${{ matrix.config.name }} - portable
|
156 | 178 | path: build/aegisub-portable-64.zip
|
|
0 commit comments