make.yml 690 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. ---
  2. name: Make
  3. on:
  4. push:
  5. branches:
  6. - "**"
  7. pull_request:
  8. branches:
  9. - master
  10. concurrency:
  11. group: ${{ github.workflow }}-${{ github.ref }}
  12. cancel-in-progress: true
  13. jobs:
  14. build:
  15. runs-on: ${{ matrix.os }}
  16. timeout-minutes: 120
  17. strategy:
  18. matrix:
  19. os:
  20. - ubuntu-latest
  21. - windows-latest
  22. steps:
  23. - name: Checkout
  24. uses: actions/checkout@v4
  25. with:
  26. submodules: true
  27. - name: Build on Linux
  28. if: runner.os == 'Linux'
  29. shell: bash
  30. run: bash -x make.sh build
  31. - name: Build on Windows
  32. if: runner.os == 'Windows'
  33. shell: powershell
  34. run: pwsh -File make.ps1 build