Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Add compile check workflow for Xcode project #1

Add compile check workflow for Xcode project

Add compile check workflow for Xcode project #1

Workflow file for this run

name: Compile Check
on:
push:
branches: [ "dev" ]
jobs:
compile:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
# 1. Install XcodeGen
- name: Install XcodeGen
run: brew install xcodegen
# 2. Generate the Xcode project
- name: Generate Xcode Project
run: xcodegen generate
# 3. Cache SwiftPM package builds (SUPER IMPORTANT)
- uses: actions/cache@v4
with:
path: |
~/Library/Developer/Xcode/DerivedData
.build
key: swiftpm-${{ hashFiles('project.yml') }}
restore-keys: |
swiftpm-
# 4. Compile check ONLY (no ipa, no archive, no real build)
- name: Dry Run Build (Compile Check Only)
run: |
xcodebuild \
-scheme prostore \
-destination 'platform=iOS Simulator,name=iPhone 15' \
-dry-run