Skip to content

Build Package in CI

Build Package in CI #1

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
triple:
- "arm64-apple-ios"
- "x86_64-apple-macosx"
- "arm64-apple-watchos"
- "arm64-apple-ios-macabi"
- "arm64-apple-visionos"
- "arm64-apple-tvos"
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build Swift Package
run: |
swift build --triple ${{ matrix.triple }}