Add back AnyWeakAttribute conformance for compatibility #11
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: Test | |
| run: swift test | |
| - name: Test Compatibility | |
| working-directory: ./CompatibilityTesting | |
| run: swift test | |
| - name: Build XCFramework | |
| run: ./Scripts/create-xcframework.sh | |
| 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 uuid-dev | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Build | |
| run: swift build | |
| - name: Test | |
| run: swift test |