EXP: energy monitoring #6887
Workflow file for this run
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: 'CodeQL' | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: '40 4 * * 6' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: macos-13 | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ['cpp'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a # pin@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- run: >- | |
env NSUnbufferedIO=YES | |
xcodebuild | |
-workspace Sentry.xcworkspace | |
-scheme Sentry | |
-configuration Release | |
-destination platform="iOS Simulator,OS=latest,name=iPhone 14 Pro" | xcpretty && exit ${PIPESTATUS[0]} | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a # pin@v2 |