Add apple platform cross compile workflows.
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 52/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, swift
- 領域
- build-system, ci-cd
調査の方向性
リポジトリに既存する GitHub Actions の workflow ファイルを特定し、その規約を提供された Apple CC Matrix の例と比較します。対応する Apple-platform workflow を追加し、マトリックスが iOS、tvOS、visionOS、watchOS をカバーしていること、および各 build/test job が正常に完了することを確認します。
索引モデルが issue の本文から書いたものです。
説明
Swift-MMIO wants to make sure it can build for all apple platforms, so we've added the following workflow. Something similar should be provided directly by this repo.
name: Apple CC Matrix
on:
workflow_call:
jobs:
apple-cc-build:
name: ${{ matrix.os.name }} (Xcode ${{ matrix.xcode_version }} - ${{ matrix.macos_version }} - ${{ matrix.macos_arch }})
runs-on: [self-hosted, macos, "${{ matrix.macos_version }}", "${{ matrix.macos_arch }}"]
strategy:
fail-fast: false
matrix:
xcode_version: ["16.3"]
os:
- name: iOS
platform: iOS
- name: tvOS
platform: tvOS
- name: visionOS
platform: xrOS
- name: watchOS
platform: watchOS
arch: [arm64]
macos_version: [sequoia]
macos_arch: [ARM64]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install xcbeautify
run: |
curl -L https://github.com/cpisciotta/xcbeautify/releases/download/2.28.0/xcbeautify-2.28.0-arm64-apple-macosx.zip -o xcbeautify.zip
sha256 -c 00d16a08b426e004e5d101631515ea1bbc0ab20209541cd4cacb569d3289c9e7 xcbeautify.zip
unzip xcbeautify.zip -d /tmp
chmod +x /tmp/xcbeautify
/tmp/xcbeautify --version
- name: Select Xcode
run: echo "DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode_version }}.app" >> $GITHUB_ENV
- name: Swift version
run: xcrun swift --version
- name: Build / Test
run: xcodebuild build -scheme swift-mmio-Package -destination generic/platform=${{ matrix.os.platform }} | /tmp/xcbeautify
timeout-minutes: 60
- 主要言語
- Swift
- スター
- 115
- フォーク
- 57
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 3
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
swiftlang/github-workflows のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
swiftlang/github-workflows#305 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
swiftlang/github-workflows#261 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
swiftlang/github-workflows#258 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
swiftlang/github-workflows#312 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
swiftlang/github-workflows#277 · コメント 1 件 ·
swiftlang/github-workflows の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
googleapis/google-cloud-swift#1151 ·
-
`--app` focus through the daemon can pick an off-screen window and refuse with `axElementNotFound` オープンclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P1
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
code health
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
apple/coreai-models#288 ·
-
task
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vsanthanam/JBird#429 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100