Support public entries with live value defined in separate module. #966
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - '*' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| macos-15: | |
| name: macOS 15 | |
| runs-on: macos-15 | |
| strategy: | |
| matrix: | |
| config: ['debug', 'release'] | |
| xcode: ['16.4'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Select Xcode ${{ matrix.xcode }} | |
| run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app | |
| - name: Skip macro validation | |
| run: defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES | |
| - name: Run tests | |
| run: make test-swift | |
| - name: Build platforms ${{ matrix.config }} | |
| run: CONFIG=${{ matrix.config }} make build-all-platforms | |
| - name: Build for library evolution | |
| run: make build-for-library-evolution | |
| ubuntu: | |
| strategy: | |
| matrix: | |
| swift: | |
| - '6.3' | |
| name: Ubuntu (Swift ${{ matrix.swift }}) | |
| runs-on: ubuntu-latest | |
| container: swift:${{ matrix.swift }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run tests | |
| run: swift test --parallel | |
| - name: Run tests (release) | |
| run: swift test -c release --parallel | |
| wasm: | |
| name: WebAssembly Swift SDK | |
| uses: apple/swift-nio/.github/workflows/wasm_swift_sdk.yml@main | |
| with: | |
| additional_command_arguments: "--target Dependencies --target DependenciesMacros" | |
| nightly_next_enabled: false | |
| android: | |
| name: Android | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| config: ['debug'] | |
| swift: ['6.3'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Swift Package on Android | |
| uses: skiptools/swift-android-action@v2 | |
| with: | |
| # disable combine traits on Android as it wasn't building yet | |
| swift-build-flags: "--disable-default-traits" | |
| swift-version: ${{ matrix.swift }} | |
| swift-configuration: ${{ matrix.config }} | |
| run-tests: false | |
| build-tests: false |