# This file is a part of the UMSKT Project # # Copyleft (C) 2019-2023 UMSKT Contributors (et.al.) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # # @FileCreated by TheTank20 on 07/08/2025 # @Maintainer Neo name: Windows ARM on: push: branches: [ "*" ] paths-ignore: [ '**.md', 'doc/**', '.idea/**'] # If only these files are edited, skip pull_request: branches: [ "*" ] paths-ignore: [ '**.md', 'doc/**', '.idea/**'] workflow_dispatch: jobs: build: runs-on: windows-latest strategy: fail-fast: false matrix: include: # - arch: arm32 # arch_compilename: amd64_arm # cmake_arch: ARM - arch: arm64 arch_compilename: amd64_arm64 cmake_arch: ARM64 steps: - name: Setup MSVC for ${{ matrix.arch }} uses: ilammy/msvc-dev-cmd@v1 with: arch: ${{ matrix.arch_compilename }} - name: Checkout Source Tree uses: actions/checkout@v7 - name: Configure UMSKT shell: pwsh run: | cmake -G "Visual Studio 18 2026" ` -A ${{ matrix.cmake_arch }} ` -DWINDOWS_ARM=ON ` -DCMAKE_POLICY_VERSION_MINIMUM="3.5" ` . - name: Build UMSKT shell: pwsh run: | cmake --build . --config Release - name: Upload build artifact uses: actions/upload-artifact@v7 with: name: UMSKT-WinNT-${{ matrix.arch }} path: Release/umskt.exe test-arm64: needs: build if: success() runs-on: windows-11-arm strategy: matrix: arch: [arm64] steps: - name: Download ARM64 artifact uses: actions/download-artifact@v8 with: name: UMSKT-WinNT-${{ matrix.arch }} path: . - name: Run tests shell: pwsh run: | Write-Host Test 1 - generating key `(BINK1998`) .\umskt.exe -b 2C -c 365 -s 069420,999999 -v Write-Host Test 2 - generating key `(BINK2002`) .\umskt.exe -b 5A -c 640 -s 069420,999999 -v Write-Host Test 3 - generatng confid .\umskt.exe -i 253286028742154311079061239762245184619981623171292574