Skip to content

Commit

Permalink
Update the supporting platforms and the CI workflow (#72)
Browse files Browse the repository at this point in the history
* Add `visionOS` to supporting platforms

* Update the CI workflow to run on macOS 14
  • Loading branch information
DevYeom committed Mar 1, 2024
1 parent 7db913f commit bd7c3c1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ concurrency:
cancel-in-progress: true

jobs:
test:
runs-on: macos-13
ci:
runs-on: macos-14
timeout-minutes: 30
env:
SCHEME: OneWay
Expand All @@ -23,6 +23,6 @@ jobs:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1.6.0
with:
xcode-version: '15.1'
- name: Build and Test
xcode-version: '15.2'
- name: Build and test
run: make test-all
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PLATFORM_IOS = iOS Simulator,name=iPhone 15
PLATFORM_MACOS = macOS
PLATFORM_TVOS = tvOS Simulator,name=Apple TV
PLATFORM_VISIONOS = visionOS Simulator,name=Apple Vision Pro
PLATFORM_WATCHOS = watchOS Simulator,name=Apple Watch Series 9 (45mm)
CONFIG = debug

Expand All @@ -15,6 +16,7 @@ test:
"$(PLATFORM_IOS)" \
"$(PLATFORM_MACOS)" \
"$(PLATFORM_TVOS)" \
"$(PLATFORM_VISIONOS)" \
"$(PLATFORM_WATCHOS)"; \
do \
xcodebuild clean build test \
Expand Down
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ let package = Package(
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.visionOS(.v1),
.watchOS(.v6),
],
products: [
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ To learn how to use **OneWay** in more detail, go through the [documentation](ht

## Requirements

| OneWay | Swift | Xcode | Platforms |
|--------|-------|-------|-----------------------------------------------|
| 2.0 | 5.9 | 15.0 | iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0 |
| 1.0 | 5.5 | 13.0 | iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0 |
| OneWay | Swift | Xcode | Platforms |
|--------|-------|-------|-------------------------------------------------------------|
| 2.0 | 5.9 | 15.0 | iOS 13.0, macOS 10.15, tvOS 13.0, visionOS 1.0, watchOS 6.0 |
| 1.0 | 5.5 | 13.0 | iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0 |

## Installation

Expand Down

0 comments on commit bd7c3c1

Please sign in to comment.