Do not treat Configs folder as Compute.framework resources #139
Workflow file for this run
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: Swift | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| macos-build: | |
| name: macOS | |
| runs-on: macos-26 | |
| strategy: | |
| matrix: | |
| swift: ["6.3"] | |
| steps: | |
| - name: Set up Xcode | |
| run: sudo xcode-select -s "/Applications/Xcode_26.4.app" | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Build | |
| run: swift build | |
| - name: Build XCFramework | |
| run: ./Scripts/create-xcframework.sh | |
| - name: Upload XCFramework | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| path: .build/Xcode/Frameworks/Compute.xcframework.zip | |
| archive: false | |
| linux-build: | |
| name: Linux | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| swift: ["6.3"] | |
| container: | |
| image: swift:${{ matrix.swift }}-jammy | |
| steps: | |
| - name: Install dependencies | |
| run: | | |
| apt-get update | |
| apt-get install -y libssl-dev | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Build | |
| run: swift build |