-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.18 KB
/
Copy pathbuild.yml
File metadata and controls
36 lines (34 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Build
on:
push:
branches: [main]
pull_request:
jobs:
macos:
# Liquid Glass and Icon Composer require the macOS 26 SDK.
runs-on: macos-26
steps:
- uses: actions/checkout@v4
- name: Verify Xcode 26 toolchain
shell: bash
run: |
set -euo pipefail
xcode_version="$(xcodebuild -version)"
printf '%s\n' "$xcode_version"
grep -Eq '^Xcode 26[.]' <<< "$xcode_version"
- name: Validate metadata and scripts
run: |
plutil -lint OverflowBar/Resources/Info.plist
bash -n scripts/create-dmg.sh
bash scripts/validate-homebrew-cask.sh
ruby scripts/check-doc-links.rb
- name: Build Debug
run: >-
xcodebuild -project OverflowBar.xcodeproj -scheme OverflowBar
-configuration Debug -destination 'generic/platform=macOS'
-derivedDataPath .ci-build CODE_SIGNING_ALLOWED=NO build
- name: Build Release
run: >-
xcodebuild -project OverflowBar.xcodeproj -scheme OverflowBar
-configuration Release -destination 'generic/platform=macOS'
-derivedDataPath .ci-release CODE_SIGNING_ALLOWED=NO build