Skip to content

Increase minimum version to macOS 13.0 #104

Increase minimum version to macOS 13.0

Increase minimum version to macOS 13.0 #104

Workflow file for this run

name: CI
on: [pull_request]
jobs:
# TODO: enable once code is formatted
# SwiftLint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - name: SwiftLint
# uses: norio-nomura/[email protected]
# with:
# args: --strict
macOS:
runs-on: macOS-latest
env:
XCODE_VERSION: ${{ '14.3.1' }}
steps:
- name: Select Xcode
run: "sudo xcode-select -s /Applications/Xcode_$XCODE_VERSION.app"
- name: Checkout
uses: actions/checkout@v1
- name: Build and Run
run: swift build -c release
- name: Test
run: swift test
- name: Build Backend
run: swift build --product XCMetricsBackend -c release
linux:
runs-on: ubuntu-latest
container:
image: swift:5.7
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install zlib
run: apt-get update && apt-get install -y ruby zlib1g-dev libssl-dev
- name: Build Backend
run: swift build --product XCMetricsBackend -c release