Skip to content

Commit

Permalink
Support visionOS (#5)
Browse files Browse the repository at this point in the history
* Support `Apple Vision Pro`

* Update `CHANGELOG.md`

* Update `ci.yml`

* Update `CHANGELOG.md`
  • Loading branch information
nik3212 committed Oct 15, 2023
1 parent 0f7e288 commit 1d2975d
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 6 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ on:
pull_request:
paths:
- '.swiftlint.yml'
branches:
- main
- dev
- ".github/workflows/**"
- "Package.swift"
- "Source/**"
- "Tests/**"

concurrency:
group: ci
Expand Down Expand Up @@ -62,4 +63,21 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
xcode: true
xcode_archive_path: "./${{ matrix.sdk }}.xcresult"
xcode_archive_path: "./${{ matrix.sdk }}.xcresult"
Beta:
name: "Test Betas"
runs-on: macos-13
env:
DEVELOPER_DIR: "/Applications/Xcode_15.0.app/Contents/Developer"
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- destination: "OS=1.0,name=Apple Vision Pro"
name: "visionOS"
scheme: "Flare"
steps:
- uses: actions/checkout@v3
- name: ${{ matrix.name }}
run: xcodebuild test -scheme "${{ matrix.scheme }}" -destination "${{ matrix.destination }}" clean
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
#### 2.x Releases
- `2.0.x` Releases - [2.0.0](#200)

## [Unreleased]()

#### Added
- Added `visionOS` to list of supported platforms
- Added in Pull Request [#5](https://github.com/space-code/flare/pull/5).

## [2.0.0](https://github.com/space-code/flare/releases/tag/2.0.0)
Released on 2023-09-13.

Expand Down
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// swift-tools-version: 5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
// swiftlint:disable all

import PackageDescription

Expand Down
37 changes: 37 additions & 0 deletions Package@swift-5.9.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
// swiftlint:disable all

import PackageDescription

let package = Package(
name: "Flare",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
.watchOS(.v7),
.tvOS(.v13),
.visionOS(.v1),
],
products: [
.library(name: "Flare", targets: ["Flare"]),
],
dependencies: [
.package(url: "https://github.com/space-code/concurrency.git", .upToNextMajor(from: "0.0.1")),
],
targets: [
.target(
name: "Flare",
dependencies: [
.product(name: "Concurrency", package: "concurrency"),
]
),
.testTarget(
name: "FlareTests",
dependencies: [
"Flare",
.product(name: "TestConcurrency", package: "concurrency"),
]
),
]
)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Flare is a framework written in Swift that makes it easy for you to work with in
Check out [flare documentation](https://github.com/space-code/flare/blob/main/Documentation/Usage.md).

## Requirements
- iOS 13.0+ / macOS 10.15+ / tvOS 13.0+ / watchOS 7.0+
- iOS 13.0+ / macOS 10.15+ / tvOS 13.0+ / watchOS 7.0+ / visionOS 1.0+
- Xcode 14.0
- Swift 5.5

Expand Down Expand Up @@ -69,4 +69,4 @@ Please feel free to help out with this project! If you see something that could
Nikita Vasilev, nv3212@gmail.com

## License
flare is available under the MIT license. See the LICENSE file for more info.
flare is available under the MIT license. See the LICENSE file for more info.

0 comments on commit 1d2975d

Please sign in to comment.