Skip to content

set swift version

set swift version #172

Workflow file for this run

name: ci
on:
- push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: norio-nomura/[email protected]
with:
args: --strict
macOS-test:
strategy:
matrix:
swift-version:
- "5.9"
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.swift-version }}
- run: swift test
iOS-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: xcodebuild -scheme NdArray -destination 'platform=iOS Simulator,name=iPhone 13'
tvOS-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: xcodebuild -scheme NdArray -destination 'platform=tvOS Simulator,name=Apple TV'
whatchOS-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: xcodebuild -scheme NdArray -destination 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)'