Skip to content

ci: add GitHub Actions #2

ci: add GitHub Actions

ci: add GitHub Actions #2

Workflow file for this run

name: Multiplatform test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: GitHub Action for SwiftLint
uses: norio-nomura/[email protected]
Test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Xcode Setup
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0.1'
- name: Build
run: |
xcodebuild build -project Swiftly.xcodeproj -scheme Swiftly clean build -sdk iphoneos CODE_SIGNING_ALLOWED=No
- name: Run tests
run: |
xcodebuild test -project Swiftly.xcodeproj -scheme Swiftly clean build -sdk iphoneos -destination "platform=iOS Simulator,OS=17.1,name=iPhone 15 Pro" CODE_SIGNING_ALLOWED=No