Skip to content

Commit

Permalink
Add CI configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-vasilev committed Jan 31, 2023
1 parent 486b4cd commit c09177e
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "nexus"

on:
push:
branches:
- main
- dev
pull_request:
branches: [ main ]

concurrency:
group: ci
cancel-in-progress: true

jobs:
Latest:
name: Test Latest (iOS, watchOS)
runs-on: macOS-12
env:
DEVELOPER_DIR: "/Applications/Xcode_14.1.app/Contents/Developer"
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- destination: "OS=16.1,name=iPhone 14 Pro"
name: "iOS"
scheme: "Nexus"
- destination: "OS=9.1,name=Apple Watch Series 8 (45mm)"
name: "watchOS"
scheme: "Nexus"
steps:
- uses: actions/checkout@v3
- name: ${{ matrix.name }}
run: xcodebuild test -scheme "${{ matrix.scheme }}" -destination "${{ matrix.destination }}" clean

0 comments on commit c09177e

Please sign in to comment.