build.yaml 692 B

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