Skip to content

Commit

Permalink
Use latest Xcode & swift
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed Jul 21, 2022
1 parent be1f16e commit 35474df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-spm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
linux:
name: Test SPM Linux
runs-on: ubuntu-latest
container: swiftgen/swift:5.4
container: swiftgen/swift:5.6
steps:
-
name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end
## [ Constants ] ##############################################################

POD_NAME = 'StencilSwiftKit'.freeze
MIN_XCODE_VERSION = 12.0
MIN_XCODE_VERSION = 13.0
BUILD_DIR = File.absolute_path('./.build')

## [ Release a new version ] ##################################################
Expand Down
4 changes: 2 additions & 2 deletions rakelib/spm.rake
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ namespace :spm do
desc 'Build using SPM'
task :build do |task|
Utils.print_header 'Compile using SPM'
Utils.run('swift build --enable-test-discovery', task, xcrun: true)
Utils.run('swift build', task, xcrun: true)
end

desc 'Run SPM Unit Tests'
task :test => :build do |task|
Utils.print_header 'Run the unit tests using SPM'
Utils.run('swift test --enable-test-discovery --parallel', task, xcrun: true)
Utils.run('swift test --parallel', task, xcrun: true)
end
end

0 comments on commit 35474df

Please sign in to comment.