-
Notifications
You must be signed in to change notification settings - Fork 0
V1.0.0-alpha.1 #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2e15512
5e9dfd2
899561b
9b17dd6
9e00e46
097fb72
e600706
62e0818
3b3e8bf
0ec1011
17d92c3
e3176d3
e31b80d
11c0fa8
c477cbc
cf7eedb
f2a3d9b
1f679d2
812685c
0fdb78d
f3866d8
7d8b662
110b3f4
4eba5fb
5939c11
3a26db3
e92ab03
6e121df
b6acca0
3aa48e2
aa6fd80
016db94
3e48198
3bb010b
d7787b8
081596b
14aa861
b038fe6
1ab40eb
20d39b5
81f872f
090a5c4
d99ec19
6e9c7a7
8204ec6
3a86146
31d16e2
3fc45a8
a6e340c
7bc90df
8234353
1c16d63
25e689e
78879e9
5dcfed6
640c189
c458bc4
c86931c
cf1193b
ac10ec6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
| "name": "Swift 6.2", | ||
| "image": "swift:6.2", | ||
| "features": { | ||
| "ghcr.io/devcontainers/features/common-utils:2": { | ||
| "installZsh": "false", | ||
| "username": "vscode", | ||
| "upgradePackages": "false" | ||
| }, | ||
| "ghcr.io/devcontainers/features/git:1": { | ||
| "version": "os-provided", | ||
| "ppa": "false" | ||
| } | ||
| }, | ||
| "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", | ||
| "runArgs": [ | ||
| "--cap-add=SYS_PTRACE", | ||
| "--security-opt", | ||
| "seccomp=unconfined" | ||
| ], | ||
| "customizations": { | ||
| "vscode": { | ||
| "settings": { | ||
| "lldb.library": "/usr/lib/liblldb.so" | ||
| }, | ||
| "extensions": [ | ||
| "sswg.swift-lang" | ||
| ] | ||
| } | ||
| }, | ||
| "remoteUser": "root" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
| "name": "Swift 6.1 Nightly", | ||
| "image": "swiftlang/swift:nightly-6.1-noble", | ||
| "features": { | ||
| "ghcr.io/devcontainers/features/common-utils:2": { | ||
| "installZsh": "false", | ||
| "username": "vscode", | ||
| "upgradePackages": "false" | ||
| }, | ||
| "ghcr.io/devcontainers/features/git:1": { | ||
| "version": "os-provided", | ||
| "ppa": "false" | ||
| } | ||
| }, | ||
| "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", | ||
| "runArgs": [ | ||
| "--cap-add=SYS_PTRACE", | ||
| "--security-opt", | ||
| "seccomp=unconfined" | ||
| ], | ||
| "customizations": { | ||
| "vscode": { | ||
| "settings": { | ||
| "lldb.library": "/usr/lib/liblldb.so" | ||
| }, | ||
| "extensions": [ | ||
| "sswg.swift-lang" | ||
| ] | ||
| } | ||
| }, | ||
| "remoteUser": "root" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
| "name": "Swift 6.1", | ||
| "image": "swift:6.1", | ||
| "features": { | ||
| "ghcr.io/devcontainers/features/common-utils:2": { | ||
| "installZsh": "false", | ||
| "username": "vscode", | ||
| "upgradePackages": "false" | ||
| }, | ||
| "ghcr.io/devcontainers/features/git:1": { | ||
| "version": "os-provided", | ||
| "ppa": "false" | ||
| } | ||
| }, | ||
| "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", | ||
| "runArgs": [ | ||
| "--cap-add=SYS_PTRACE", | ||
| "--security-opt", | ||
| "seccomp=unconfined" | ||
| ], | ||
| "customizations": { | ||
| "vscode": { | ||
| "settings": { | ||
| "lldb.library": "/usr/lib/liblldb.so" | ||
| }, | ||
| "extensions": [ | ||
| "sswg.swift-lang" | ||
| ] | ||
| } | ||
| }, | ||
| "remoteUser": "root" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| { | ||
| "name": "Swift 6.2 Nightly", | ||
| "image": "swiftlang/swift:nightly-6.2-noble", | ||
| "features": { | ||
| "ghcr.io/devcontainers/features/common-utils:2": { | ||
| "installZsh": "false", | ||
| "username": "vscode", | ||
| "upgradePackages": "false" | ||
| }, | ||
| "ghcr.io/devcontainers/features/git:1": { | ||
| "version": "os-provided", | ||
| "ppa": "false" | ||
| } | ||
| }, | ||
| "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", | ||
| "runArgs": [ | ||
| "--cap-add=SYS_PTRACE", | ||
| "--security-opt", | ||
| "seccomp=unconfined" | ||
| ], | ||
| // Configure tool-specific properties. | ||
| "customizations": { | ||
| // Configure properties specific to VS Code. | ||
| "vscode": { | ||
| // Set *default* container specific settings.json values on container create. | ||
| "settings": { | ||
| "lldb.library": "/usr/lib/liblldb.so" | ||
| }, | ||
| // Add the IDs of extensions you want installed when the container is created. | ||
| "extensions": [ | ||
| "sswg.swift-lang" | ||
| ] | ||
| } | ||
| }, | ||
| // Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
| // "forwardPorts": [], | ||
|
|
||
| // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
| "remoteUser": "root" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
| "name": "Swift 6.2", | ||
| "image": "swift:6.2", | ||
| "features": { | ||
| "ghcr.io/devcontainers/features/common-utils:2": { | ||
| "installZsh": "false", | ||
| "username": "vscode", | ||
| "upgradePackages": "false" | ||
| }, | ||
| "ghcr.io/devcontainers/features/git:1": { | ||
| "version": "os-provided", | ||
| "ppa": "false" | ||
| } | ||
| }, | ||
| "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", | ||
| "runArgs": [ | ||
| "--cap-add=SYS_PTRACE", | ||
| "--security-opt", | ||
| "seccomp=unconfined" | ||
| ], | ||
| "customizations": { | ||
| "vscode": { | ||
| "settings": { | ||
| "lldb.library": "/usr/lib/liblldb.so" | ||
| }, | ||
| "extensions": [ | ||
| "sswg.swift-lang" | ||
| ] | ||
| } | ||
| }, | ||
| "remoteUser": "root" | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,155 @@ | ||||||
| name: SundialKitStream | ||||||
| on: | ||||||
| push: | ||||||
| branches-ignore: | ||||||
| - '*WIP' | ||||||
| env: | ||||||
| PACKAGE_NAME: SundialKitStream | ||||||
| jobs: | ||||||
| build-ubuntu: | ||||||
| name: Build on Ubuntu | ||||||
| runs-on: ubuntu-latest | ||||||
| container: ${{ matrix.swift.nightly && format('swiftlang/swift:nightly-{0}-{1}', matrix.swift.version, matrix.os) || format('swift:{0}-{1}', matrix.swift.version, matrix.os) }} | ||||||
| if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} | ||||||
| strategy: | ||||||
| fail-fast: false | ||||||
| matrix: | ||||||
| os: [noble, jammy] | ||||||
| swift: | ||||||
| - version: "6.1" | ||||||
| - version: "6.2" | ||||||
| - version: "6.1" | ||||||
| nightly: true | ||||||
| - version: "6.2" | ||||||
| nightly: true | ||||||
| steps: | ||||||
| - uses: actions/checkout@v4 | ||||||
| - uses: brightdigit/swift-build@v1.4.0 | ||||||
| with: | ||||||
| scheme: ${{ env.PACKAGE_NAME }} | ||||||
| - uses: sersoft-gmbh/swift-coverage-action@v4 | ||||||
| id: coverage-files | ||||||
| with: | ||||||
| fail-on-empty-output: true | ||||||
| - name: Upload coverage to Codecov | ||||||
| uses: codecov/codecov-action@v4 | ||||||
| with: | ||||||
| fail_ci_if_error: true | ||||||
| flags: swift-${{ matrix.swift.version }}-${{ matrix.os }}${{ matrix.swift.nightly && '-nightly' || '' }} | ||||||
| verbose: true | ||||||
| token: ${{ secrets.CODECOV_TOKEN }} | ||||||
| files: ${{ join(fromJSON(steps.coverage-files.outputs.files), ',') }} | ||||||
| build-macos: | ||||||
| name: Build on macOS | ||||||
| runs-on: ${{ matrix.runs-on }} | ||||||
| if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} | ||||||
| strategy: | ||||||
| fail-fast: false | ||||||
| matrix: | ||||||
| include: | ||||||
| # SPM Build Matrix - Xcode 16.x+ (Swift 6.1+) | ||||||
| - runs-on: macos-26 | ||||||
| xcode: "/Applications/Xcode_26.1.app" | ||||||
| - runs-on: macos-26 | ||||||
| xcode: "/Applications/Xcode_26.0.app" | ||||||
| - runs-on: macos-15 | ||||||
| xcode: "/Applications/Xcode_16.4.app" | ||||||
| - runs-on: macos-15 | ||||||
| xcode: "/Applications/Xcode_16.3.app" | ||||||
|
|
||||||
| # iOS Build Matrix - Xcode 16.x+ (Swift 6.1+) | ||||||
| - type: ios | ||||||
| runs-on: macos-26 | ||||||
| xcode: "/Applications/Xcode_26.1.app" | ||||||
| deviceName: "iPhone 17 Pro" | ||||||
| osVersion: "26.1" | ||||||
| download-platform: true | ||||||
|
|
||||||
| - type: ios | ||||||
| runs-on: macos-26 | ||||||
| xcode: "/Applications/Xcode_26.0.app" | ||||||
| deviceName: "iPhone 17 Pro" | ||||||
| osVersion: "26.0.1" | ||||||
| download-platform: true | ||||||
|
|
||||||
| - type: ios | ||||||
| runs-on: macos-15 | ||||||
| xcode: "/Applications/Xcode_16.4.app" | ||||||
| deviceName: "iPhone 16e" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct invalid iOS device name. Line 78 references Update to a valid device name: - type: ios
runs-on: macos-15
xcode: "/Applications/Xcode_16.4.app"
- deviceName: "iPhone 16e"
+ deviceName: "iPhone 16"
osVersion: "18.5"📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| osVersion: "18.5" | ||||||
|
|
||||||
| - type: ios | ||||||
| runs-on: macos-15 | ||||||
| xcode: "/Applications/Xcode_16.3.app" | ||||||
| deviceName: "iPhone 16" | ||||||
| osVersion: "18.4" | ||||||
|
|
||||||
| # watchOS Build Matrix - Xcode 16.x+ (Swift 6.1+) | ||||||
| - type: watchos | ||||||
| runs-on: macos-26 | ||||||
| xcode: "/Applications/Xcode_26.1.app" | ||||||
| deviceName: "Apple Watch Ultra 3 (49mm)" | ||||||
| osVersion: "26.0" | ||||||
| download-platform: true | ||||||
|
|
||||||
| - type: watchos | ||||||
| runs-on: macos-26 | ||||||
| xcode: "/Applications/Xcode_26.0.app" | ||||||
| deviceName: "Apple Watch Ultra 3 (49mm)" | ||||||
| osVersion: "26.0" | ||||||
| download-platform: true | ||||||
|
|
||||||
| - type: watchos | ||||||
| runs-on: macos-15 | ||||||
| xcode: "/Applications/Xcode_16.4.app" | ||||||
| deviceName: "Apple Watch Series 10 (46mm)" | ||||||
| osVersion: "11.5" | ||||||
|
|
||||||
| - type: watchos | ||||||
| runs-on: macos-15 | ||||||
| xcode: "/Applications/Xcode_16.3.app" | ||||||
| deviceName: "Apple Watch Series 10 (42mm)" | ||||||
| osVersion: "11.4" | ||||||
|
|
||||||
| steps: | ||||||
| - uses: actions/checkout@v4 | ||||||
|
|
||||||
| - name: Build and Test | ||||||
| uses: brightdigit/swift-build@v1.4.0 | ||||||
| with: | ||||||
| scheme: ${{ env.PACKAGE_NAME }} | ||||||
| type: ${{ matrix.type }} | ||||||
| xcode: ${{ matrix.xcode }} | ||||||
| deviceName: ${{ matrix.deviceName }} | ||||||
| osVersion: ${{ matrix.osVersion }} | ||||||
| download-platform: ${{ matrix.download-platform }} | ||||||
|
|
||||||
| # Coverage Steps | ||||||
| - name: Process Coverage | ||||||
| uses: sersoft-gmbh/swift-coverage-action@v4 | ||||||
|
|
||||||
| - name: Upload Coverage | ||||||
| uses: codecov/codecov-action@v4 | ||||||
| with: | ||||||
| token: ${{ secrets.CODECOV_TOKEN }} | ||||||
| flags: ${{ matrix.type && format('{0}{1}', matrix.type, matrix.osVersion) || 'spm' }} | ||||||
|
|
||||||
| lint: | ||||||
| name: Linting | ||||||
| if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} | ||||||
| runs-on: ubuntu-latest | ||||||
| needs: [build-ubuntu, build-macos] | ||||||
| env: | ||||||
| LINT_MODE: STRICT | ||||||
| steps: | ||||||
| - uses: actions/checkout@v4 | ||||||
| - name: Install mise | ||||||
| uses: jdx/mise-action@v2 | ||||||
| with: | ||||||
| version: 2024.11.0 | ||||||
| install: true | ||||||
| cache: true | ||||||
| - name: Lint | ||||||
| run: | | ||||||
| set -e | ||||||
| ./Scripts/lint.sh | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| name: Claude Code Review | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, synchronize] | ||
| # Optional: Only run on specific file changes | ||
| # paths: | ||
| # - "src/**/*.ts" | ||
| # - "src/**/*.tsx" | ||
| # - "src/**/*.js" | ||
| # - "src/**/*.jsx" | ||
|
|
||
| jobs: | ||
| claude-review: | ||
| # Optional: Filter by PR author | ||
| # if: | | ||
| # github.event.pull_request.user.login == 'external-contributor' || | ||
| # github.event.pull_request.user.login == 'new-developer' || | ||
| # github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR' | ||
|
|
||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| pull-requests: read | ||
| issues: read | ||
| id-token: write | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 1 | ||
|
|
||
| - name: Run Claude Code Review | ||
| id: claude-review | ||
| uses: anthropics/claude-code-action@v1 | ||
| with: | ||
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | ||
| prompt: | | ||
| REPO: ${{ github.repository }} | ||
| PR NUMBER: ${{ github.event.pull_request.number }} | ||
|
|
||
| Please review this pull request and provide feedback on: | ||
| - Code quality and best practices | ||
| - Potential bugs or issues | ||
| - Performance considerations | ||
| - Security concerns | ||
| - Test coverage | ||
|
|
||
| Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback. | ||
|
|
||
| Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR. | ||
|
|
||
| # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md | ||
| # or https://docs.claude.com/en/docs/claude-code/cli-reference for available options | ||
| claude_args: '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"' | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Remove this duplicate configuration.
This file is identical to
.devcontainer/devcontainer.json(both define "Swift 6.2" with the same configuration). Having two identical files creates maintenance burden and confusion. Keep one as the canonical default configuration and remove the other.🏁 Script executed:
Length of output: 1876
🏁 Script executed:
Length of output: 813
🏁 Script executed:
Length of output: 878
🏁 Script executed:
Length of output: 1502
Remove
.devcontainer/swift-6.2/devcontainer.jsonas a redundant duplicate.This file is byte-for-byte identical to
.devcontainer/devcontainer.json(MD5: 527ace14726ac67796e5942418651d1e). Other variants in the same directory structure (swift-6.1, swift-6.1-nightly, swift-6.2-nightly) intentionally differ by image and version, confirming that subdirectory variants should be version-specific. The swift-6.2 variant breaks this pattern by duplicating the root configuration. Keep the root file as the canonical Swift 6.2 default and remove the subdirectory copy.🤖 Prompt for AI Agents