Added support for Windows Arm64 #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # GitHub Actions configuration file for continuous integration. | |
| # Build the binary packages for Ubuntu and Windows, post them as artifacts. | |
| # Trigger the workflow on push or pull request, for master branch only. | |
| # Also allow manual trigger (workflow_dispatch). | |
| name: Continuous integration | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| windows: | |
| name: Windows build | |
| runs-on: windows-latest | |
| steps: | |
| - name: Get repo | |
| uses: actions/checkout@master | |
| - name: Install dependencies | |
| run: win/install-prerequisites.ps1 -NoPause | |
| - name: Build package | |
| run: | | |
| win/build.ps1 -GitHubActions -NoPause | |
| dir build -Recurse | |
| - name: Test package installation | |
| run: | | |
| Start-Process -FilePath installers\${{ env.INSTALLER_EXE }} -ArgumentList @("/S") -Wait | |
| $librist = [System.Environment]::GetEnvironmentVariable("LIBRIST","Machine") | |
| Write-Output "LIBRIST: $librist" | |
| Get-ChildItem -Recurse $librist | |
| - name: Upload package | |
| uses: actions/upload-artifact@master | |
| with: | |
| name: windows-package | |
| path: installers/${{ env.INSTALLER_EXE }} |