Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Test if Package.swift is valid on CI for older tooling #4697

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
orbs:
macos: circleci/[email protected]
slack: circleci/[email protected]

# Disabled until compatible with M1: codecov: codecov/[email protected]
# codecov: codecov/[email protected]

Expand Down Expand Up @@ -400,6 +401,20 @@ commands:
destination: scan-test-output

jobs:

validate-package-swift:
parameters:
xcode_version:
type: string
executor:
name: macos-executor
xcode_version: << parameters.xcode_version >>
steps:
- checkout
- run:
name: Validate Package.swift
command: swift package describe

spm-release-build-xcode-14:
executor:
name: macos-executor
Expand Down Expand Up @@ -1345,6 +1360,12 @@ workflows:
- not: << pipeline.parameters.generate_revenuecatui_snapshots >>
jobs:
- lint
- validate-package-swift:
name: validate-package-swift-5.7
xcode_version: "14.0.1"
- validate-package-swift:
name: validate-package-swift-5.8
xcode_version: "14.3.1"
- run-test-ios-17
- run-test-ios-18
- pod-lib-lint
Expand Down