File tree Expand file tree Collapse file tree 5 files changed +50
-5
lines changed
Sources/swift-bundler/Bundler Expand file tree Collapse file tree 5 files changed +50
-5
lines changed Original file line number Diff line number Diff line change 88jobs :
99 build :
1010 runs-on : ubuntu-latest
11+ container :
12+ image : swift:5.10.0
13+
1114 steps :
1215 - name : Swift version
1316 run : swift --version
Original file line number Diff line number Diff line change 77
88jobs :
99 build :
10- runs-on : macos-latest
10+ runs-on : macos-15
1111 steps :
12- - name : List Xcode versions
13- run : ls /Applications | grep Xcode
12+ - name : Setup Xcode version
13+ uses :
maxim-lobanov/[email protected] 14+ with :
15+ xcode-version : ' 15.4' # contains Swift 5.10.0
1416
1517 - name : Swift version
1618 run : swift --version
Original file line number Diff line number Diff line change 1+ name : Build Windows
2+
3+ on :
4+ push :
5+ pull_request :
6+ workflow_dispatch :
7+
8+ defaults :
9+ run : # Use powershell because bash is not supported: https://github.com/compnerd/gha-setup-swift/issues/18#issuecomment-1705524890
10+ shell : pwsh
11+
12+ jobs :
13+ build :
14+ runs-on : windows-2019 # Windows SDK lower than 10.0.26100 is needed until https://github.com/swiftlang/swift/pull/79751 released!
15+ steps :
16+
17+ - name : Setup VS Dev Environment
18+ uses : seanmiddleditch/gha-setup-vsdevenv@v5
19+
20+ - name : Setup
21+ 22+ with :
23+ branch : swift-5.10-release
24+ tag : 5.10-RELEASE
25+
26+ - name : Checkout
27+ uses : actions/checkout@v4
28+
29+ - name : Swift version
30+ run : swift --version
31+
32+ - name : Build
33+ run : |
34+ Set-StrictMode -Version Latest
35+ $ErrorActionPreference = "Stop"
36+ $PSNativeCommandUseErrorActionPreference = $true
37+
38+ swift build --product swift-bundler
Original file line number Diff line number Diff line change 44
55<p align =" center " >
66 <a href =" https://swiftpackageindex.com/stackotter/swift-bundler " ><img src =" https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fstackotter%2Fswift-bundler%2Fbadge%3Ftype%3Dswift-versions " ></a >
7- <a href =" https://discord.gg/6mUFu3KtAn " ><img src =" https://img.shields.io/discord/949626773295988746?color=6A7EC2&label=discord&logo=discord&logoColor=ffffff " ></a >
7+ <a href =" https://github.com/stackotter/swift-bundler/actions/workflows/swift-macos.yml " alt =" Build macOS " ><img src =" https://github.com/stackotter/swift-bundler/actions/workflows/swift-macos.yml/badge.svg " ></a >
8+ <a href =" https://github.com/stackotter/swift-bundler/actions/workflows/swift-linux.yml " alt =" Build Linux " ><img src =" https://github.com/stackotter/swift-bundler/actions/workflows/swift-linux.yml/badge.svg " ></a >
9+ <a href =" https://github.com/stackotter/swift-bundler/actions/workflows/swift-windows.yml " alt =" Build Linux " ><img src =" https://github.com/stackotter/swift-bundler/actions/workflows/swift-windows.yml/badge.svg " ></a >
10+ <a href =" https://discord.gg/6mUFu3KtAn " ><img src =" https://img.shields.io/discord/949626773295988746?color=6A7EC2&label=discord&logo=discord&logoColor=ffffff " ></a >
811</p >
912
1013<p align =" center " >
Original file line number Diff line number Diff line change 11import AsyncCollections
22import Foundation
33import SwiftBundlerBuilders
4- import SystemPackage
54import Version
65
76enum ProjectBuilder {
You can’t perform that action at this time.
0 commit comments