Merge modern-spm: Add Swift Package Manager support with IGListKit in… #122
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| buildsh: | |
| env: | |
| DEVELOPER_DIR: /Applications/Xcode_26.0.1.app/Contents/Developer | |
| strategy: | |
| matrix: | |
| mode: [tests, framework, life-without-cocoapods, carthage, spm, spm-texture-basic, spm-texture-iglistkit, spm-app-iglistkit, examples-pt1, examples-pt2, examples-pt3, examples-pt4] | |
| include: | |
| - mode: tests | |
| name: Build and run tests | |
| - mode: framework | |
| name: Build Texture as a dynamic framework | |
| - mode: life-without-cocoapods | |
| name: Build Texture as a static library | |
| - mode: carthage | |
| name: Verify that Carthage works | |
| - mode: spm | |
| name: Verify that Swift Package Manager works | |
| - mode: spm-texture-basic | |
| name: Test SPM with default traits (AsyncDisplayKit) | |
| - mode: spm-texture-iglistkit | |
| name: Test SPM with IGListKit trait | |
| - mode: spm-app-iglistkit | |
| name: Test SPM iOS app with IGListKit (local package wrapper) | |
| - mode: examples-pt1 | |
| name: Build examples (examples-pt1) | |
| - mode: examples-pt2 | |
| name: Build examples (examples-pt2) | |
| - mode: examples-pt3 | |
| name: Build examples (examples-pt3) | |
| - mode: examples-pt4 | |
| name: Build examples (examples-pt4) | |
| name: ${{ matrix.name }} | |
| runs-on: macos-15 | |
| steps: | |
| - name: Checkout the Git repository | |
| uses: actions/checkout@v4 | |
| - name: Run build script | |
| run: ./build.sh ${{ matrix.mode }} |