Skip to content

Commit

Permalink
Add SPM CI
Browse files Browse the repository at this point in the history
  • Loading branch information
luispadron committed Oct 10, 2024
1 parent 7022420 commit 337ee77
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,11 @@ jobs:
run: bundle exec pod lib lint --verbose --fail-fast AardvarkLoggingUI.podspec --include-podspecs=CoreAardvark.podspec
- name: Lint AardvarkMailUI Podspec
run: bundle exec pod lib lint --verbose --fail-fast AardvarkMailUI.podspec --include-podspecs="{CoreAardvark,Aardvark}.podspec"
swift-build:
name: Swift Build
runs-on: macos-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Swift Build
run: swift build --sdk "$(xcode-select -p)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk" --triple "arm64-apple-ios14.0-simulator"
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let package = Package(
targets: ["AardvarkMailUI", "AardvarkMailUISwift"]
),
.library(
name: "CoreAardvark",
name: "CoreAardvark",
targets: ["CoreAardvark", "CoreAardvarkSwift"]
),
],
Expand Down Expand Up @@ -68,7 +68,7 @@ let package = Package(
]
),
.target(
name: "CoreAardvark",
name: "CoreAardvark",
resources: [
.process("Resources/en.lproj"),
],
Expand Down

0 comments on commit 337ee77

Please sign in to comment.