Skip to content

Fix crash: infinite layout loop in timeline with media/reactions #143

Fix crash: infinite layout loop in timeline with media/reactions

Fix crash: infinite layout loop in timeline with media/reactions #143

Workflow file for this run

name: Xcode - Build and Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build and Test
strategy:
max-parallel: 2
fail-fast: false
matrix:
macos-version: [macos-15, macos-26]
runs-on: ${{ matrix.macos-version }}
env:
scheme: ${{ 'Mactrix' }}
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
xcodebuild clean build analyze \
-scheme "$scheme" \
-project Mactrix.xcodeproj \
-destination 'platform=macOS' | xcpretty && exit ${PIPESTATUS[0]}
- name: Test
run: |
xcodebuild test \
-scheme "$scheme" \
-project Mactrix.xcodeproj \
-destination 'platform=macOS' | xcpretty && exit ${PIPESTATUS[0]}
- name: Build release artifact
if: |
matrix.macos-version == 'macos-26' &&
github.event_name == 'push' &&
github.ref == 'refs/heads/main'
run: |
xcodebuild archive \
-project Mactrix.xcodeproj \
-scheme "$scheme" \
-configuration Release \
-destination 'platform=macOS' \
-archivePath ./Mactrix.xcarchive | xcpretty && exit ${PIPESTATUS[0]}
- name: Upload Artifact
if: |
matrix.macos-version == 'macos-26' &&
github.event_name == 'push' &&
github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v4
with:
name: Mactrix.app
path: ./Mactrix.xcarchive/Products/Applications/