Skip to content

Commit

Permalink
Create CI.yml (#4)
Browse files Browse the repository at this point in the history
* Create CI.yml

* Update platforms
  • Loading branch information
0xLeif authored Jan 18, 2023
1 parent 3dd17f3 commit 7751d08
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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: CI

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

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
7 changes: 4 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import PackageDescription
let package = Package(
name: "o",
platforms: [
.iOS(.v14),
.macOS(.v11),
.watchOS(.v7)
.iOS(.v15),
.macOS(.v12),
.watchOS(.v8),
.tvOS(.v15)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
Expand Down

0 comments on commit 7751d08

Please sign in to comment.