validate docs #1
Workflow file for this run
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: test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
linux: | |
runs-on: ubuntu-24.04 | |
name: Ubuntu 24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run pipeline | |
run: .github/pipeline | |
macos: | |
runs-on: macos-14 | |
name: macOS | |
env: | |
DEVELOPER_DIR: "/Applications/Xcode_15.3.app/Contents/Developer" | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run pipeline | |
run: .github/pipeline | |
devices: | |
runs-on: macos-14 | |
name: macOS | |
strategy: | |
matrix: | |
device: [ios, tvos, watchos] | |
env: | |
DEVELOPER_DIR: "/Applications/Xcode_15.3.app/Contents/Developer" | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
swift --version | |
xcrun xcodebuild -list | |
xcrun xcodebuild build \ | |
-scheme "JSON" \ | |
-destination "generic/platform=${{ matrix.device }}" | |
xcrun xcodebuild build \ | |
-scheme "JSONLegacy" \ | |
-destination "generic/platform=${{ matrix.device }}" | |