diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..e7a5f41 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: macmade diff --git a/.github/workflows/ci-mac.yaml b/.github/workflows/ci-mac.yaml new file mode 100644 index 0000000..77606fc --- /dev/null +++ b/.github/workflows/ci-mac.yaml @@ -0,0 +1,26 @@ +name: ci-mac +on: [push] +jobs: + ci: + runs-on: macos-latest + strategy: + matrix: + run-config: + - { scheme: 'MetaCopy', configuration: 'Debug', project: 'MetaCopy.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=macOS' } + - { scheme: 'MetaCopy', configuration: 'Release', project: 'MetaCopy.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' ] }}