2
0

macos.yml 601 B

1234567891011121314151617181920212223242526272829
  1. name: macOS
  2. on:
  3. push:
  4. branches: [ main ]
  5. pull_request:
  6. branches: [ main ]
  7. jobs:
  8. build:
  9. runs-on: macos-latest
  10. steps:
  11. - name: Checkout
  12. uses: actions/checkout@v4
  13. with:
  14. fetch-depth: 0
  15. - name: Select Xcode Version
  16. uses: maxim-lobanov/setup-xcode@v1
  17. with:
  18. xcode-version: latest-stable
  19. - name: Swift Package Build
  20. run: swift build -v
  21. - name: Run tests
  22. run: swift test -c release -Xswiftc -enable-testing -Xswiftc -DCI -Xswiftc -Xfrontend -Xswiftc -solver-memory-threshold -Xswiftc -Xfrontend -Xswiftc 999999999