Skip to content

Commit

Permalink
Yet another attempt to get Gradle Swift integration test to work on G…
Browse files Browse the repository at this point in the history
…itHub actions.
  • Loading branch information
baron1405 committed Oct 21, 2024
1 parent aae60a9 commit 43f1dd0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Swift
uses: SwiftyLab/setup-swift@latest
with:
swift-version: 'latest'
swift-version: '5'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run clean build javadoc
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.gradle.language.swift.SwiftVersion

plugins {
// Apply the swift-library plugin to add support for building Swift libraries
`swift-library`
Expand All @@ -9,4 +11,6 @@ plugins {
library {
// Set the target operating system and architecture for this library
targetMachines.add(machines.linux.x86_64)

sourceCompatibility = SwiftVersion.SWIFT5
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.gradle.language.swift.SwiftVersion

plugins {
// Apply the swift-library plugin to add support for building Swift libraries
`swift-library`
Expand All @@ -9,4 +11,6 @@ plugins {
library {
// Set the target operating system and architecture for this library
targetMachines.add(machines.linux.x86_64)

sourceCompatibility = SwiftVersion.SWIFT5
}

0 comments on commit 43f1dd0

Please sign in to comment.