windows_arm64.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. name: Windows (arm64)
  2. on:
  3. pull_request:
  4. branches:
  5. - dev
  6. jobs:
  7. build:
  8. strategy:
  9. fail-fast: false
  10. matrix:
  11. os: [windows-11-arm]
  12. kind: [static, shared]
  13. arch: [arm64]
  14. runtimes: [MT, MD]
  15. runs-on: ${{ matrix.os }}
  16. concurrency:
  17. group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Windows-arm64-${{ matrix.os }}-${{ matrix.kind }}-${{ matrix.arch }}-${{ matrix.runtimes }}
  18. cancel-in-progress: true
  19. steps:
  20. - uses: actions/checkout@v1
  21. - uses: xmake-io/github-action-setup-xmake@v1
  22. with:
  23. xmake-version: branch@master
  24. actions-cache-folder: '.xmake-cache'
  25. actions-cache-key: 'windows-arm'
  26. - name: Configure Pagefile
  27. uses: al-cheb/[email protected]
  28. with:
  29. minimum-size: 8GB
  30. maximum-size: 32GB
  31. disk-root: "D:"
  32. - name: Tests
  33. run: |
  34. xmake --version
  35. xmake l ./scripts/test.lua -vD -a ${{ matrix.arch }} -k ${{ matrix.kind }} --runtimes=${{ matrix.runtimes }} --linkjobs=2