Skip to content

Commit

Permalink
build: use fixed versions of macos and xcode for stability
Browse files Browse the repository at this point in the history
  • Loading branch information
denizt committed Nov 7, 2024
1 parent 9e516f7 commit a1bdabe
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ on:

jobs:
build:
runs-on: macos-latest
strategy:
matrix:
include:
- xcode: "15.4"
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -23,12 +27,16 @@ jobs:
run: gem install xcpretty --no-document --quiet

- name: Build
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
run: |
set -o pipefail
xcodebuild clean
xcodebuild build -configuration release -project MacPass.xcodeproj -scheme MacPass CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGN_ENTITLEMENTS="" -derivedDataPath ./build | xcpretty -c
- name: Export Localizations
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
run: |
xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage de
xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage en
Expand Down

0 comments on commit a1bdabe

Please sign in to comment.