build.yaml 807 B

12345678910111213141516171819202122232425262728293031323334
  1. name: build
  2. on: [push, pull_request]
  3. concurrency:
  4. group: ${{ github.head_ref || github.run_id }}
  5. cancel-in-progress: true
  6. jobs:
  7. build-framework:
  8. runs-on: self-hosted
  9. continue-on-error: true
  10. strategy:
  11. matrix:
  12. destination: [
  13. 'macOS',
  14. 'iOS Simulator,name=iPhone 15',
  15. 'tvOS Simulator,name=Apple TV',
  16. 'watchOS Simulator,name=Apple Watch Series 9 (41mm)'
  17. ]
  18. xcode: [
  19. '15.2',
  20. '15.3',
  21. '16.0',
  22. ]
  23. steps:
  24. - uses: actions/checkout@v4
  25. - name: Install Gems
  26. run: bundle install
  27. - name: Build framework
  28. env:
  29. DESTINATION: platform=${{ matrix.destination }}
  30. XCODE_VERSION: ${{ matrix.xcode }}
  31. run: bundle exec fastlane build_ci