Skip to content

Commit

Permalink
Switched to macOS to bypass grpc installation on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineRondelet committed Nov 24, 2020
1 parent b9bd58b commit b84e373
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/code-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,23 @@ on:
#schedule:
# - cron: '0 1 * * 0'

env:
MACOS_BREW_PACKAGES: "pkg-config libomp"

jobs:
CodeQL-Build:
runs-on: ubuntu-20.04
# Run on macOS only for ease of grpc installation for now
runs-on: macos-10-15

steps:
- name: Checkout repository and install submodules
uses: actions/checkout@v2
with:
submodules: recursive

# Initialize the CodeQL tools for scanning.
- name: Install Dependencies
run: brew install ${MACOS_BREW_PACKAGES}

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
Expand All @@ -27,6 +33,5 @@ jobs:
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# Analyze the code.
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

0 comments on commit b84e373

Please sign in to comment.