mirror of
https://github.com/nicklockwood/SwiftFormat.git
synced 2026-05-17 10:30:35 +00:00
Build all targets in CI (#1783)
This commit is contained in:
committed by
Nick Lockwood
parent
61725f5d08
commit
c932422227
@@ -76,3 +76,62 @@ jobs:
|
||||
branch: ${{ matrix.branch }}
|
||||
- uses: actions/checkout@v3
|
||||
- run: swift test
|
||||
|
||||
command-line-tool:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
macos:
|
||||
- 13
|
||||
xcode:
|
||||
- latest-stable
|
||||
runs-on: macos-${{ matrix.macos }}
|
||||
steps:
|
||||
- name: Select Xcode version
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: ${{ matrix.xcode }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build Command Line Tool
|
||||
run: xcodebuild -project SwiftFormat.xcodeproj -scheme "SwiftFormat (Command Line Tool)" -sdk macosx clean build
|
||||
|
||||
swiftformat-for-xcode:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
macos:
|
||||
- 13
|
||||
xcode:
|
||||
- latest-stable
|
||||
runs-on: macos-${{ matrix.macos }}
|
||||
steps:
|
||||
- name: Select Xcode version
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: ${{ matrix.xcode }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build Swift Format for Xcode app
|
||||
run: xcodebuild -project SwiftFormat.xcodeproj -scheme "SwiftFormat for Xcode" -sdk macosx clean build
|
||||
|
||||
editor-extension:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
macos:
|
||||
- 13
|
||||
xcode:
|
||||
- latest-stable
|
||||
runs-on: macos-${{ matrix.macos }}
|
||||
steps:
|
||||
- name: Select Xcode version
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: ${{ matrix.xcode }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build Editor Extension
|
||||
run: xcodebuild -project SwiftFormat.xcodeproj -scheme "SwiftFormat (Editor Extension)" -sdk macosx clean build
|
||||
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Release"
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = ""
|
||||
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
|
||||
launchStyle = "0"
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Release"
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
|
||||
Reference in New Issue
Block a user