Skip to content

Commit 3c4e2f7

Browse files
committed
Add support for Windows ARM64 architecture
1 parent 349ec21 commit 3c4e2f7

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/release.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,39 @@ jobs:
189189
name: CSFML-windows-64-bit
190190
path: install/CSFML
191191

192+
windows-arm64:
193+
name: Windows ARM64
194+
runs-on: windows-2025
195+
196+
steps:
197+
- name: Checkout SFML
198+
uses: actions/checkout@v4
199+
with:
200+
repository: SFML/SFML
201+
ref: 3.0.1
202+
path: SFML
203+
204+
- name: Checkout CSFML
205+
uses: actions/checkout@v4
206+
with:
207+
path: CSFML
208+
209+
- name: Build SFML
210+
run: |
211+
cmake -S SFML -B SFML-build -A ARM64 -G "Visual Studio 17 2022" -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/SFML-install -DCMAKE_VERBOSE_MAKEFILE=ON
212+
cmake --build SFML-build --config Release --target install
213+
214+
- name: Build CSFML
215+
run: |
216+
cmake -S CSFML -B CSFML-build -A ARM64 -G "Visual Studio 17 2022" -DBUILD_SHARED_LIBS=ON -DCSFML_LINK_SFML_STATICALLY=OFF -DCMAKE_BUILD_TYPE=Release -DSFML_ROOT=${{ github.workspace }}/SFML-install -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/CSFML-install -DCMAKE_VERBOSE_MAKEFILE=ON
217+
cmake --build CSFML-build --config Release --target install
218+
219+
- name: Upload Artifact
220+
uses: actions/upload-artifact@v4
221+
with:
222+
name: CSFML-windows-arm64
223+
path: install/CSFML
224+
192225
macos-x64:
193226
name: macOS x64
194227
runs-on: macos-13

0 commit comments

Comments
 (0)