解像度に qHD (960x540) を追加する #1698
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: Build | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
- 'CHANGES.md' | |
- 'LICENSE' | |
- 'Sora.podspec' | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
build: | |
runs-on: macos-13 | |
env: | |
XCODE: /Applications/Xcode_14.3.1.app | |
XCODE_SDK: iphoneos16.4 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Select Xcode Version | |
run: sudo xcode-select -s '${{ env.XCODE }}/Contents/Developer' | |
- name: Show Xcode Version | |
run: xcodebuild -version | |
- name: Show CocoaPods Version | |
run: pod --version | |
- name: Restore Pods | |
uses: actions/cache@v3 | |
with: | |
path: Pods | |
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pods- | |
- name: Install Dependences | |
run: | | |
rm Podfile && mv Podfile.dev Podfile | |
pod repo update | |
pod install | |
- name: Build Xcode Project | |
run: | | |
set -o pipefail && \ | |
xcodebuild \ | |
-workspace 'Sora.xcworkspace' \ | |
-scheme 'Sora' \ | |
-sdk ${{ env.XCODE_SDK }} \ | |
-configuration Release \ | |
-derivedDataPath build \ | |
clean build \ | |
CODE_SIGNING_REQUIRED=NO \ | |
CODE_SIGN_IDENTITY= \ | |
PROVISIONING_PROFILE= | |
- name: Check uncommitted unformatted code | |
run: | | |
./lint-format.sh | |
release: | |
if: contains(github.ref, 'tags/v') | |
needs: [build] | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Create Release | |
id: create_release | |
uses: actions/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: Release ${{ github.ref }} | |
draft: false | |
prerelease: false | |