Skip to content

[wip] feat(CI): Use swift-package-action #6

[wip] feat(CI): Use swift-package-action

[wip] feat(CI): Use swift-package-action #6

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- '*'
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
xcodebuild-test:
name: xcodebuild-test
if: |
!contains(github.event.head_commit.message, '[ci skip]') &&
!contains(github.event.head_commit.message, '[ci skip test]') &&
!contains(github.event.head_commit.message, '[ci skip test_macos]')
runs-on: macos-latest
strategy:
matrix:
command: [test]
platform: [iOS, macOS, macCatalyst, tvOS, visionOS, watchOS]
xcode: ['26.2']
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- name: Test
uses: capturecontext/swift-package-action/build@3.0-beta.5
with:
xcode: ${{ matrix.xcode }}
cache-derived-data: true
action: xcodebuild-test
platform: ${{ matrix.platform }}
workspace: .github/package.xcworkspace
scheme: DeclarativeConfiguration
config: Debug