Skip to content

Commit

Permalink
Merge pull request #20 from ramonvasc/ramonvasc-patch-1
Browse files Browse the repository at this point in the history
Create building-and-testing-swift.yml
  • Loading branch information
ramonvasc committed Nov 7, 2023
2 parents 4bc8704 + 3ef9e79 commit c5ba671
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/building-and-testing-swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Swift

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: swift-actions/setup-swift@v1
with:
swift-version: "5.9.0"
- name: Get swift version
run: swift --version
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription

let package = Package(
name: "MXLCalendarManagerSwift",
platforms: [.iOS(.v13)],
platforms: [.iOS(.v13), .macOS("10.15")],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
Expand Down

0 comments on commit c5ba671

Please sign in to comment.