use null terminated string for userinfo (#591) #227
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Sample | |
on: | |
pull_request: | |
paths: | |
- 'Sources/**/include/**' | |
- 'Package.swift' | |
- 'Samples/**' | |
- '.github/workflows/build-sample.yml' | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: '0 0 1 * *' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
sample: | |
runs-on: "macos-${{ matrix.macos-version || 'latest' }}" | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- platform: iOS | |
- platform: macOS | |
- platform: tvOS | |
- platform: watchOS | |
- platform: visionOS | |
macos-version: "15" | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Use Latest Stable Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Install Tuist | |
run: | | |
brew tap tuist/tuist | |
brew install [email protected] | |
- name: Generate Project | |
working-directory: ./Samples | |
run: tuist generate --verbose --no-open | |
- name: Run Build | |
uses: bamx23/xcodebuild@os-version | |
timeout-minutes: 10 | |
with: | |
action: build | |
workspace: "Samples/KSCrashSamples.xcworkspace" | |
scheme: "Sample" | |
platform: ${{ matrix.platform }} |