Skip to content

Update build and test action #47

Update build and test action

Update build and test action #47

Workflow file for this run

#
# This source file is part of the StrokeCog based on the Stanford Spezi Template Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
# SPDX-License-Identifier: MIT
#
name: Build and Test
on:
pull_request:
workflow_dispatch:
workflow_call:
jobs:
swiftlint:
name: SwiftLint
uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2
permissions:
contents: read
markdownlinkcheck:
name: Markdown Link Check
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
permissions:
contents: read
buildandtest:
name: Build and Test
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Add Mapbox credentials
uses: extractions/netrc@v1
with:
machine: api.mapbox.com
username: mapbox
password: ${{ secrets.MAPBOX_TOKEN }}
- name: "Build and test Xcode project"
uses: sersoft-gmbh/xcodebuild-action@v3
with:
project: StrokeCog.xcodeproj
scheme: StrokeCog
destination: platform=iOS Simulator,name=iPhone 15 Pro
action: test