-
-
Notifications
You must be signed in to change notification settings - Fork 6
26 lines (23 loc) · 1.04 KB
/
ci-mac.yaml
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
name: ci-mac
on: [push]
jobs:
ci:
runs-on: macos-latest
strategy:
matrix:
run-config:
- { scheme: 'macho', configuration: 'Debug', project: 'macho.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=macOS' }
- { scheme: 'macho', configuration: 'Release', project: 'macho.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=macOS' }
steps:
- uses: actions/checkout@v1
with:
submodules: 'recursive'
- uses: macmade/action-xcodebuild@v1.0.0
- uses: macmade/action-slack@v1.0.0
if: ${{ always() }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
channel: '#ci'
status: ${{ job.status }}
title: ${{ matrix.run-config[ 'scheme' ] }} - ${{ matrix.run-config[ 'configuration' ] }}