Update CHANGELOG for 1.27.3 #1431
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 & Tests | |
on: | |
push: | |
branches: [ 2.x, master ] | |
pull_request: | |
branches: [ 2.x, master ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
xcode: ['xcode12.5.1', 'xcode13.1'] | |
include: | |
- xcode: 'xcode12.5.1' | |
xcode-path: '/Applications/Xcode_12.5.1.app/Contents/Developer' | |
upload-dist: false | |
- xcode: 'xcode13.1' | |
xcode-path: '/Applications/Xcode_13.1.app/Contents/Developer' | |
upload-dist: true | |
name: Build and Test Sparkle | |
runs-on: macos-11 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Build Unit Tests | |
env: | |
DEVELOPER_DIR: ${{ matrix.xcode-path }} | |
run: | | |
xcodebuild build-for-testing -project Sparkle.xcodeproj -scheme Distribution -enableCodeCoverage YES -derivedDataPath build | |
- name: Run Unit Tests | |
env: | |
DEVELOPER_DIR: ${{ matrix.xcode-path }} | |
run: | | |
xcodebuild test-without-building -project Sparkle.xcodeproj -scheme Distribution -enableCodeCoverage YES -derivedDataPath build | |
- name: Build UI Tests | |
env: | |
DEVELOPER_DIR: ${{ matrix.xcode-path }} | |
run: | | |
xcodebuild build-for-testing -project Sparkle.xcodeproj -scheme UITests -configuration Debug -derivedDataPath build | |
- name: Run UI Tests | |
env: | |
DEVELOPER_DIR: ${{ matrix.xcode-path }} | |
run: | | |
xcodebuild test-without-building -project Sparkle.xcodeproj -scheme UITests -configuration Debug -derivedDataPath build | |
- name: Build Release Distribution | |
env: | |
DEVELOPER_DIR: ${{ matrix.xcode-path }} | |
run: | | |
xcodebuild build -project Sparkle.xcodeproj -scheme Distribution -configuration Release -derivedDataPath build | |
- name: Archive Test Results | |
if: failure() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: build-logs | |
path: build/Logs | |
- name: Upload Distribution | |
if: ${{ success() && matrix.upload-dist }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Sparkle-distribution-${{ matrix.xcode }}.tar.xz | |
path: build/Build/Products/Release/sparkle-dist.tar.xz |