|
| 1 | +name: ci-mac |
| 2 | +on: [push] |
| 3 | +jobs: |
| 4 | + ci: |
| 5 | + runs-on: macos-latest |
| 6 | + strategy: |
| 7 | + matrix: |
| 8 | + run-config: |
| 9 | + - { scheme: 'ObjectiveCPP Mac Static Library (C++11)', configuration: 'Debug', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 1, info: 1, destination: 'platform=macOS' } |
| 10 | + - { scheme: 'ObjectiveCPP Mac Static Library (C++11)', configuration: 'Release', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=macOS' } |
| 11 | + - { scheme: 'ObjectiveCPP Mac Dynamic Library (C++11)', configuration: 'Debug', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 1, info: 1, destination: 'platform=macOS' } |
| 12 | + - { scheme: 'ObjectiveCPP Mac Dynamic Library (C++11)', configuration: 'Release', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=macOS' } |
| 13 | + - { scheme: 'ObjectiveCPP Mac Framework (C++11)', configuration: 'Debug', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 1, info: 1, destination: 'platform=macOS' } |
| 14 | + - { scheme: 'ObjectiveCPP Mac Framework (C++11)', configuration: 'Release', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=macOS' } |
| 15 | + - { scheme: 'ObjectiveCPP iOS Static Library (C++11)', configuration: 'Debug', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=iOS Simulator,name=iPhone 12' } |
| 16 | + - { scheme: 'ObjectiveCPP iOS Static Library (C++11)', configuration: 'Release', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=iOS Simulator,name=iPhone 12' } |
| 17 | + steps: |
| 18 | + |
| 19 | + - uses: actions/checkout@v1 |
| 20 | + with: |
| 21 | + submodules: 'recursive' |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + if: ${{ always() }} |
| 27 | + env: |
| 28 | + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |
| 29 | + with: |
| 30 | + channel: '#ci' |
| 31 | + status: ${{ job.status }} |
| 32 | + title: ${{ matrix.run-config[ 'scheme' ] }} - ${{ matrix.run-config[ 'configuration' ] }} |
0 commit comments