|
32 | 32 | - { name: Windows VS2019 x64, os: windows-2019, flags: -DSFML_USE_MESA3D=ON -GNinja } |
33 | 33 | - { name: Windows VS2022 x86, os: windows-2022, flags: -DSFML_USE_MESA3D=ON -GNinja } |
34 | 34 | - { name: Windows VS2022 x64, os: windows-2022, flags: -DSFML_USE_MESA3D=ON -GNinja } |
| 35 | + - { name: Windows VS2022 arm64, os: windows-2022, flags: -DSFML_USE_MESA3D=OFF -GNinja -DSFML_BUILD_TEST_SUITE=OFF } |
35 | 36 | - { name: Windows VS2022 ClangCL MSBuild, os: windows-2022, flags: -DSFML_USE_MESA3D=ON -T ClangCL } # ninja doesn't support specifying the toolset, so use the ClangCL toolset to test building with MSBuild as well |
36 | 37 | - { name: Windows VS2022 OpenGL ES, os: windows-2022, flags: -DSFML_USE_MESA3D=ON -DSFML_OPENGL_ES=ON -GNinja } |
37 | 38 | - { name: Windows VS2022 Unity, os: windows-2022, flags: -DSFML_USE_MESA3D=ON -DCMAKE_UNITY_BUILD=ON -GNinja } |
@@ -117,7 +118,7 @@ jobs: |
117 | 118 | if: contains(matrix.platform.name, 'Windows VS') && !contains(matrix.platform.name, 'MSBuild') |
118 | 119 | uses: ilammy/msvc-dev-cmd@v1 |
119 | 120 | with: |
120 | | - arch: ${{ contains(matrix.platform.name, 'x86') && 'x86' || 'x64' }} |
| 121 | + arch: ${{ contains(matrix.platform.name, 'arm64') && 'amd64_arm64' || contains(matrix.platform.name, 'x86') && 'x86' || 'x64' }} |
121 | 122 |
|
122 | 123 | # Although the CMake configuration will run with 3.24 on Windows and 3.22 |
123 | 124 | # elsewhere, we install 3.25 on Windows in order to support specifying |
@@ -237,7 +238,7 @@ jobs: |
237 | 238 | find build/bin -name test-sfml-window -or -name test-sfml-window.exe -exec sh -c "{} *sf::Context* --section=\"Version String\" --success | grep OpenGL" \; |
238 | 239 |
|
239 | 240 | - name: Test (Windows) |
240 | | - if: runner.os == 'Windows' && !contains(matrix.platform.name, 'MinGW') |
| 241 | + if: runner.os == 'Windows' && !contains(matrix.platform.name, 'MinGW') && !contains(matrix.platform.name, 'arm64') |
241 | 242 | run: cmake --build build --target runtests --config ${{ matrix.type.name == 'Debug' && 'Debug' || 'Release' }} |
242 | 243 |
|
243 | 244 | - name: Test (Linux/macOS/MinGW) |
@@ -291,7 +292,7 @@ jobs: |
291 | 292 | ctest --test-dir build --output-on-failure -C ${{ matrix.type.name == 'Debug' && 'Debug' || 'Release' }} --repeat until-pass:3 |
292 | 293 |
|
293 | 294 | - name: Upload Coverage Report to Coveralls |
294 | | - if: matrix.type.name == 'Debug' && github.repository == 'SFML/SFML' && !contains(matrix.platform.name, 'iOS') && !contains(matrix.platform.name, 'Android') # Disable upload in forks |
| 295 | + if: matrix.type.name == 'Debug' && github.repository == 'SFML/SFML' && !contains(matrix.platform.name, 'iOS') && !contains(matrix.platform.name, 'Android') && !contains(matrix.platform.name, 'arm64') # Disable upload in forks |
295 | 296 | uses: coverallsapp/github-action@v2 |
296 | 297 | with: |
297 | 298 | file: ./build/coverage.out |
|
0 commit comments