Skip to content

Commit

Permalink
Add a step to test compiling generated code in Swift 6 mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed Dec 13, 2024
1 parent cfb2fd5 commit 49a6f70
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,17 @@ jobs:
- name: Compilation Tests
working-directory: swift-protobuf
run: make compile-tests PROTOC=../protobuf/cmake_build/protoc
- name: Test SPM plugin in Swift 6 mode
# This is a temporary step that basically allows us to test compiling the
# generated code in Swift 6 mode to keep an eye on the work needed.
if: startsWith(matrix.swift.version, '6.')
# This will fail until things are fixed, so don't break for it.
continue-on-error: true
working-directory: swift-protobuf
run: |
swift package tools-version --package-path PluginExamples --set 6.0
git diff
make test-spm-plugin PROTOC=../protobuf/cmake_build/protoc
api-breakage:
name: Api Breakage Compared to main branch
Expand Down

0 comments on commit 49a6f70

Please sign in to comment.