Skip to content

omit patch number from README #12

omit patch number from README

omit patch number from README #12

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
linux:
runs-on: ubuntu-22.04
name: Amazon Linux 2023
strategy:
matrix:
image:
- tayloraswift/5.10.0-amazonlinux2023:latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run pipeline
run: |
docker run -t --rm \
--name swift-environment \
--user root \
-v $PWD:/swift-json \
-w /swift-json \
${{ matrix.image }} \
.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: Build iOS
run: |
swift --version
xcrun xcodebuild build -scheme "JSON" -destination \
"generic/platform=ios"
xcrun xcodebuild build -scheme "JSONLegacy" -destination \
"generic/platform=ios"
- name: Build tvOS
run: |
swift --version
xcrun xcodebuild build -scheme "JSON" -destination \
"generic/platform=tvos"
xcrun xcodebuild build -scheme "JSONLegacy" -destination \
"generic/platform=tvos"
- name: Build watchOS
run: |
swift --version
xcrun xcodebuild build -scheme "JSON" -destination \
"generic/platform=watchos"
xcrun xcodebuild build -scheme "JSONLegacy" -destination \
"generic/platform=watchos"
- name: Run pipeline
run: .github/pipeline